httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Disable directory browsing
Date Thu, 27 Sep 2007 13:09:43 GMT
On 9/27/07, Rikard Bosnjakovic <rikard.bosnjakovic@gmail.com> wrote:
> On 26/09/2007, Joshua Slive <joshua@slive.ca> wrote:
>
> > But the correct solution is to search through all your conf files and
> > remove "Indexes" from every Options directive that you find.
>
> There is no Options Indexes anywhere in any of my config files, that's
> what confusing me.
>
> I probably want to keep mod_autoindex, in case I want to enable
> directory browsing for some particular directory (using .htaccess I
> guess), but unless otherwise stated, browsing should be off.

I should have also mentioned that you need to remove any "Options
All", which includes Indexes. And you need to make sure that you are
starting from the off state, so you'll also need a
<Directory />
Options None (or perhaps FollowSymLinks for performance reasons)
</Directory>

Joshua.

---------------------------------------------------------------------
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