Gary Pigott wrote:
> I've got a little problem.... I'm running apache 1.3 on Debian with
> PHP4 on a production web server. I did an apt-get install PHP4 to
> update to 4.3.8, over this mornings little security issue. Then the
> fun starts. The DirectoryIndex directive in httpd.conf has stopped
> working! Even though there's a perfectly valid index.html and/or
> index.php in the root directory, apache still displays a full
> directory listing. Entering www.foo.com/index.php runs as normal. Does
> anyone have any ideas?
>> Gary
I assume the apache was an RPM install as well?
It could be that you updated from a CGI-based PHP to a module-based PHP?
If so, you'll need to load it with LoadModule.
Also, check that you have the appropriate handler installed for .php -
it should be there, if it worked before the update, but you never know!
Are there any errors in the logs? They're usually found in either
/var/logs/httpd/ or /usr/local/apache/logs/
Kae
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!