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

Re: getting apache/php4 to load .php, .php3, .php4

webmaster @ linuxabbestia. homelinux. net (debianabbestia@inwind.it) wrote:

> Did you un-comment the "LoadModule php4_module /usr/lib/apache/1.3/libphp4.so" line?


> Besides next is mine (and working well!):
>     #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

Ok, I changed mine to match yours.. now this is interesting: files in
directories under /public_html/ work, but not in /public_html/ itself.
It still tries to download the file, but now it says
"application/x-trash" (weird!)  if I specifiy a file directly (not
index.php) it still says "application/x-httpd-php" but at least index.php 
and other .php files in subdirs work...

Any ideas?

Email: <rbf@farrer.net> or <rbf@debian.org>
Home:  <http://farrer.net/~rbf/>

Attachment: pgpp5JRogd7Ui.pgp
Description: PGP signature

Reply to: