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

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

 



Hello,

I'm trying to set up a deny rule that must be triggered only when 2
conditions are both true :

       BrowserMatch "^$" BlockBrowser
       SetEnvIf Referer "^$" BlockReferer
       SetEnvIf GEOIP_COUNTRY_CODE XX BlockCountry

       <LimitExcept GET>
          Deny from env....(BlockBrowser AND BlockReferer)
          Deny from env=BlockCountry
       </LimitExcept>

I'm using Apache 2.0.5x

Any idea how I can write my "Deny" rule that uses both BlockBrowser AND
BlockReferer ?

Any hint appreciated,
thanks

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


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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