httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark McCulligh <mmccu...@visualtech.ca>
Subject Re: [users@httpd] Turning Directory Browsing Off
Date Tue, 16 May 2006 16:30:34 GMT
Joshua Slive wrote:

> On 5/16/06, Mark McCulligh <mmcculli@visualtech.ca> wrote:
>
>> Hi Group,
>>
>> How do you turn Directory Browsing off.  For when a user hits a folder
>> without an document index page it doesn't let them browse the websites's
>> files.
>
>
> Find the "Options" directive that applies to that directory and remove
> its "Indexes" option or add "Options -Indexes" to a <Directory>
> section applying to that directory.
>
> Joshua.

Just double checking, change my directory from:
<Directory "/www">
  Options Indexes FollowSyncLinks
  AllowOverride None
  Order Allow, deny
  Allow from all
</Directory>

to:
<Directory "/www">
  Options -Indexes +FollowSyncLinks
  AllowOverride None
  Order Allow, deny
  Allow from all
</Directory>

Mark.

>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message