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!

Why does directoryindex not seem to be working.

Status
Not open for further replies.

svader

IS-IT--Management
Joined
Oct 13, 2004
Messages
2
Location
US
If I have the following in the conf file:

<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>

Alias /icc_profiles/ "/
<Directory "/ Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Why doesn't work correctly(404 file not found) but work fine.
 
My question is: Is DirectoryIndex supposed to apply to an alias?
 
It could be because the alias is and the directory stanza is for www.

Though I wouldn't think you'd get a 404, I would think you'd get a "directory listing denied".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top