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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making Apache *not* index. 1

Status
Not open for further replies.
Jun 6, 2002
22
US
For the life of me, I forgot how to tell Apache to *not* provide indexes.

What I mean is this: If a user hits a directory in my web structure that doesn't have an index.* file, I want the user to be refused entry into that directory.

I can't remember how to do this =o(
 
Put this in your .htaccess/<Directory>/<VirtualHost>/global config:
[tt]Options -Indexes[/tt] //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top