httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] "Deny from All" failing in Directory and Files contexts
Date Mon, 27 Oct 2003 20:31:03 GMT

On Mon, 27 Oct 2003, Whit Blauvelt wrote:

> <Directory /web/obfuscated>
>     Options -Indexes
>     AllowOverride None
>     Order Deny,Allow
>     Deny from All
> </Directory>

> both .ht* files and files in /web/obfuscated are still happily served.

Note you also have
<Location />
    Order Allow,Deny
    Allow from all
    Deny from env=bad_bot
    ErrorDocument 403 "

and then carefully read the docs here:

You'll see that <Location> sections are evaluated after <Directory>
sections and therefore override them.


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

View raw message