DirectoryIndex only seems to be working for the root directory, if I specify a folder further down the hierarchy eg - it doesn't find the index.html file. Just gives me a "The page cannot be displayed" message. I've tried using .htaccess but it doesn't work either. What am I missing?
This is a copy of the virtual hosts entry in my httpd.conf file:
<VirtualHost myserver.com>
ServerAdmin webmanager@myserver.com
ServerName myserver.com
DocumentRoot /var/ DirectoryIndex index.html index.htm
</VirtualHost>
<VirtualHost myserver.com>
Thanks.
This is a copy of the virtual hosts entry in my httpd.conf file:
<VirtualHost myserver.com>
ServerAdmin webmanager@myserver.com
ServerName myserver.com
DocumentRoot /var/ DirectoryIndex index.html index.htm
</VirtualHost>
<VirtualHost myserver.com>
Thanks.