httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajeev Kumar <rkumarraj...@gmail.com>
Subject [users@httpd] Re: Spammers Real IP need to block at apache
Date Wed, 23 May 2012 13:30:19 GMT
> Hi,
>
> We have a site running on Apache2.2.16 on REHL 5 and Akamai CDN in front,
> now that there are lot of spam requests hitting our site we want to block
> them from Apache as this would be quite convenient, however with the
> True-Cleint-IP enabled the rule below doesn't seem to be effective in
> blocking them.
>
> Below options we tried
>
> RewriteMap - config
> with config file  as host.deny
>
> And
> SetEnvIf True-Client-IP ^193\.107\.19\.104$ badip
> Order Deny,Allow
> Deny from env=badip
> Allow from all
>
> Did not able to achieve the objective with both options Any other option
> if someone have used. Please advice.
>
> Thanks,
> Rajeev Kumar
>
>
>
>

Mime
View raw message