Allow ip address for rule

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


Hello,

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

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


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
2 posts Page 1 of 1