Monday, February 25, 2013

Modsecurity 2 disabling per domain

sample of disabling mod security 2 for a single domain:
SecRule SERVER_NAME "^.*domain\.com$" phase:1,nolog,allow,id:[#id here],ctl:ruleEngine=Off

Example:
SecRule SERVER_NAME "^.*domain\.com$" phase:1,nolog,allow,id:12312388,ctl:ruleEngine=Off



No comments: