Re: Spammers Real IP need to block at apache

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

 




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





[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