httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] mod_access overhaul
Date Tue, 29 Jul 1997 01:49:27 GMT


On Mon, 28 Jul 1997, Paul Sutton wrote:

> Incidently I still find this non-obvious:
> 
>   BrowserMatch nice-robots banned=0
>   deny from env=banned
> 
> bans the nice-robots. 

You would prefer:

deny env banned  ?

I'm not sure which part you find non-obvious.  Or you'd prefer it to test
the value of the env var?  'cause I usually just do things like this:

#deny mozilla but not MSIE
BrowserMatch Mozilla/2 banned
BrowserMatch MSIE !banned

(well I never ban based on user-agents... I just use the ! notation rather
than =1, =0.)

Dean



Mime
View raw message