.php3 files not gettin processed
| From: | minter at netraverse dot com | Date: | Wed, 22 Nov 2000 15:14:58 +0000 |
| Subject: | .php3 files not gettin processed | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26638@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Very weird problem on an Apache 1.3.12. I've compiled php-4.0.3pl1 and
installed it as a DSO. I've adjusted the mime-types in httpd.conf so that
files ending with .php or .php3 will be handled by the php4
module. However, files with .php extensions work fine, but with .php3,
they get the mime-type of application/x-httpd-php3, contrary to what's set
up in httpd.conf.
Here are the relevant lines:
# Extra Modules
#LoadModule php_module modules/mod_php.so
LoadModule php4_module modules/libphp4.so
....
# Extra Modules
#AddModule mod_php.c
AddModule mod_php4.c
....
# PHP section
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
I'm stumped - any ideas?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6G+L0X5y4ZKLK2pMRAh6TAJwLwKuDayuuTKTKdwQmvwf5BrDp1wCfeRHZ
7LfbVZUMwd0qe4V69WUwj74=
=wTvy
-----END PGP SIGNATURE-----