Re: [users@httpd] multicriteria "Deny from env" rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux