PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Blocking Requests Based Off of HTTP Headers
On 2/8/07, Adam Serediuk <[EMAIL PROTECTED]> wrote:
>
> RewriteCond ${hosts-deny:%{true-client-ip}|NOT-FOUND}
> !=NOT-FOUND
>
> RewriteRule ^/.* - [F]
&g
Hello all,
I am trying to block requests based off of HTTP Headers using a RewriteCond
to a RewriteMap.
I have the following:
RewriteMaphosts-deny txt:/path_to/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond ${hosts-deny:%{REMOTE_ADD