Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DirectoryIndex not working

Status
Not open for further replies.

jthenry

IS-IT--Management
Jan 25, 2002
8
CA
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top