httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <>
Subject Re: diretory browsing
Date Mon, 03 Dec 2001 14:17:29 GMT
-bill- wrote:
> Ok, I want to prevent directory browsing for all directories except one.
> Can that be done ?

Too easy...

# At server-config level - switch off Indexes for all
Options -Indexes

# In a directory container - switch it on again
<Directory /one/single/dir>
  Options +Indexes

But read (please!!) the documentation on the Options directive - the
ordering of multiple Options directives and the presence/absence of "+"
and "-" is *very* important..


Owen Boyle.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message