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

Re: php et php3



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Vendredi 18 Avril 2003 19:40, hendrickx guy a écrit :
>     AddType allows you to tweak mime.types without actually editing
>     # it, or to make certain files to be certain types.
>     #
>     # 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
>
>     AddType application/x-tar .tgz
>     AddType image/bmp .bmp
>
>     # hdml
>     AddType text/x-hdml .hdml
>

Modifie le de cette façon :
    AddType allows you to tweak mime.types without actually editing
    # it, or to make certain files to be certain types.
    #
    # 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 .php3
    #AddType application/x-httpd-php-source .phps

    AddType application/x-tar .tgz
    AddType image/bmp .bmp

    # hdml
    AddType text/x-hdml .hdml


Ainsi les .php et les .php3 seront prix en compte (je pense que tu n'as pas 
installé php4 ET php3 ?
Tu relances apache et çà devrait rouler ..

Jerome
- -- 

Jerome FIX <zapoyok@wanadoo.fr>
http://www.aufilduweb.com
http://zapoyok.dnsalias.com

"lynx -source http://zapoyok.dnsalias.com/bio/zapoyok.asc | gpg --import"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+oFQUbQ0snTvBi4sRAo+9AJ45JkiIFLZCHeGBSxlCheL+vZ9TIwCgk0cG
SoLm1Px3DSiM38KI4/0I6AU=
=nc9L
-----END PGP SIGNATURE-----



Reply to: