Open /etc/httpd/conf/httpd.conf, look for the line starting by
"DirectoryIdex" and add index.php to the list that's already there.
Bye
--
Wilmar Perez
Library Department
University of Antioquia
On Wednesday 05 December 2001 00:22, Vincent Beaulieu wrote:
> Can anyone tell me where to configure apache so that it recognizes
> index.php as the index of a directory? I tried looking through the
> httpd.conf file for the option to add an extension...couldn't see
> anything! My server treats i
You were correct as to the file to look in. The directive passed is:
DirectoryIndex index.html
Change this to read:
DirectoryIndex index.html index.php
And that should be it. You may need the Apache Module mod_dir, but I'm not
entirely sure, here's what my config looks like:
# DirectoryIndex