Re: VS: VS: Apache & PHP4
I run a webserver (within rug.ac.be domain) using php4,
and I once had the same problem but can't remember what I exactly did to
solve it (I forgot the proxy-cache & browser-cache ;-)
The problem started after a apt-get upgrade, think I temporary used the
sid-packages (php4 + depends)...
Later I must have done something else to solve this, but as I said can't
really remember what... (I do know I was busy until 4am in the morning :p)
here are relevant parts from my apache conf files:
Hope this helps...
Dries
httpd.conf
==========
# LoadModule pgsql_auth_module /usr/lib/apache/1.3/mod_auth_pgsql.so
# LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
# LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so
# LoadModule proxy_add_forward_module /usr/lib/apache/1.3/mod_proxy_add_forward.so
# LoadModule gzip_module /usr/lib/apache/1.3/mod_gzip.so
srm.conf
========
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.php index.php3 index.html index.htm
# FancyIndexing is whether you want fancy directory indexing or standard
FancyIndexing off
# DefaultType is the default MIME type for documents which the server
# cannot find the type of from filename extensions.
DefaultType application/x-httpd-php
# For example, the PHP3 module (a separate Debian package)
# will typically use:
#AddType application/x-httpd-php3 .phtml
#AddType application/x-httpd-php3-source .phps
AddType application/x-httpd-php4 .php .php3
AddType application/x-httpd-php .php .php3
# To use CGI scripts:
#AddHandler cgi-script .cgi
AddHandler php .php3
Reply to: