DirectoryIndex incorrect for Users

kbeezie

Verified User
Joined
Apr 1, 2010
Messages
8
I have an extremely annoying problem.

My default /etc/httpd/conf/httpd.conf has this in it

DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi

But I can't find that line in any of my user's httpd.conf , and its causing me great havoc as I keep getting forbidden on a folder even though an index.php exists. The only way for me to fix it is to add this to .htaccess for any given folder

DirectoryIndex index.html index.php

I have another DirectAdmin server that was also setup freshly just like this one and I can't understand why the new accounts are not automatically indexing index.php by default. How do I fix this so I don't have to make an htaccess for the customer every single time?
 
Back
Top