httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Peel" <gp...@thenetnow.com>
Subject Re: [users@httpd] Logging Denied Referrers
Date Mon, 31 Mar 2008 12:21:24 GMT

----- Original Message ----- 
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>; "Grant Peel" <gpeel@thenetnow.com>
Sent: Monday, March 31, 2008 7:47 AM
Subject: Re: [users@httpd] Logging Denied Referrers


> On Sun, Mar 30, 2008 at 8:32 PM, Grant Peel <gpeel@thenetnow.com> wrote:
>> Joshua,
>>
>>  So, cand these be combined into one container somehow?
>>
>>
>>  <Directory "/">
>>       Order Allow,Deny
>>       Allow from all
>>       Deny from env=block_bad_bots
>>  </Directory>
>>
>>  <Directory "/home/*/www">
>>     Options Indexes Includes FollowSymLinks
>>     # FollowSymLinks MultiViews
>>     AllowOverride Options All
>>     Order allow,deny
>>     Allow from all
>>
>> </Directory>
>
> Just delete the "Order allow,deny" and "Allow from all" from the
> second section. They will negate the effect of the first section if
> they are left there.
>
> Joshua.
>

Thanks Josh, that seems to be working.

Just for my own amusement, could they be combined like this (since I am 
realy only worried about the virtual hosts document roots only),

<Directory "/home/*/www">
    Options Indexes Includes FollowSymLinks
    AllowOverride Options All
    Order Allow,Deny
    Allow from all
    Deny from env=block_bad_bots
</Directory>

-Grant 


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