Allow ip address for rule

These forums are not for questions about ModSecurity, just the cmc script itself
Post Reply
mmitechnic
Junior Member
Posts: 2
Joined: 25 Jan 2014, 20:34

Allow ip address for rule

Post by mmitechnic »

Hello,

is it possible to allow a rule to pass only for an ip address?

Regards,
Sergio
Junior Member
Posts: 1707
Joined: 12 Dec 2006, 14:56

Re: Allow ip address for rule

Post by Sergio »

If you are using the COMODO set of rules, add the IP to the userdata_wl_IPs file that is located at:
/etc/apache2/conf.d/modsec_vendor_configs/comodo_apache
File:
userdata_wl_IPs

Sergio
Post Reply