Red Hat Bugzilla – Bug 90266
DirectoryIndex directive does not work
Last modified: 2007-04-18 12:53:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
Description of problem:
The Directove DirectoryIndex, does not error out nor does it seem to work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add the directove DirectorIndex and add default.php as the default directory
2. make sure php works by setting up a test page
3. visit your web server where you should see your default.php page.
Actual Results: index.html is served
Expected Results: default.php should be served
I know php is working cause I can go type default.php as the URL and it loads
the php page just fine.
This worked in apache 1.3.
Not a bug. I made a booboo doh!
It seems the redhat-config-httpd program configured a virtualserver only I did
not put the DirectoyIndex command in that virtual server.