[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux] php et cgi sur httpd



Je ne sais pas s'il y a un peu de ca mais pour la portion de code suivante, il faudrai savoir si tu as php3 ou php4, ca m'etonnerai que ca marche avec les 2.

---------------------------
    # For example, the PHP 3.x module (not part of the Apache distribution - see
    # http://www.php.net) will typically use:
    #
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    #
    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
--------------------------

Si tu as PHP4 et que tu veux que des fichiers .php3 soit execute comme les .php

je metterai ca a la place de tout ce qu'il y a plus haut:

-------------------
    AddType application/x-httpd-php .php .php3
    AddType application/x-httpd-php-source .phps
-------------------

Et si tu as PHP3, je metterai juste ca :

------------------
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
------------------

@+

-- 
Olivier Vanhoucke
webmaster@nanouk.org
http://www.nanouk.org

[ Soyez précis dans vos sujets svp afin de déterminer directement  ]
[ le type de demande...                                            ]
[ Pour vous (dés)inscrire, aller sur http://unixtech.be/ml.php     ]
[ Archives de la mailing list: http://archives.unixtech.be/linux/  ]
[ http://unixtech.be              Contact: listmaster@unixtech.be  ]