Re: SetEnvIf and exceptions

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

 



Hi,

I don't know what is troubling you...
For now, don't use the combination of Order,Allow,Deny and Require* in configuration file that will be created in 202x. :)

AllowDeny of ENV should be replaced by the following.

Allow from env=X_FOOBAR -> Require env X_FOOBAR

It can write more complex conditions.

I've made quite a few changes over the last few days to try to get this to work, but it's still not right.

Not every user agent is defined as either a bot or not a bot, so just "require env !stayout" results in 403 errors on every page with "AH01630: client denied by server configuration:"

Here's again what I have that doesn't appear to work:

SetEnvIf user-agent "(?i:TurnitinBot)" stayout=1
SetEnvIf Request_URI "^linuxsecurity_features\.*$" !stayout
<RequireAll>
    Require env !stayout
</RequireAll>

RewriteRule linuxsecurity_features\.*$ - [L]

Ideas greatly appreciated.

Thanks,
Dave







[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