How to disable a mod_security rule

If you need whitelisted a mod_security rule or disable the follow information can help you.

To whitelist a domain so that their site can work without any problem simply add this line into mod_security configuration: SecRule SERVER_NAME "" phase:1,nolog,allow,ctl:ruleEngine=off

Disable Mod_security rule for a specific application: SecFilterSelective REQUEST_URI "/path/to/application\.php" allow