Re: .php3 files not gettin processed
| From: | Richard Lynch | Date: | Fri, 24 Nov 2000 20:02:21 +0000 |
| Subject: | Re: .php3 files not gettin processed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27028@lists.php.net to get a copy of this message | ||
Look for the *other* AddType (or module) lines in your httpd.conf.
The old ones, that are still in effect and making .php3 be the old
mime-type.
----- Original Message -----
From: <minter@netraverse.com>
Newsgroups: php.general
Sent: Wednesday, November 22, 2000 9:13 AM
Subject: [PHP] .php3 files not gettin processed
> -----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-----
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>