httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Proniewski Patrick <patrick.proniew...@univ-lyon2.fr>
Subject Re: [users@httpd] multicriteria "Deny from env" rule
Date Thu, 08 Jun 2006 14:01:52 GMT
On 8 juin 06, at 15:52, Joshua Slive wrote:

> Close.  Try:
> SetEnvIf Request_URI .* GoAway=1
> BrowserMatch .+ !GoAway
> SetEnvIf Referer .+ !GoAway
> Deny from env=GoAway

Perfect, it's working great :)


> I use a SetEnvIf that always matches rather than the SetEnv because
> the latter occurs in a different phase of config processing and
> therefore won't necessarily work here.  I use ".+" to indicate that
> the User-Agent and Referer must contain at least one character to
> unset the GoAway.

thanks a lot !

Patrick PRONIEWSKI
-- 
Administrateur Système - SENTIER - Université Lumière Lyon 2


Mime
View raw message