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