Overview
This guide will show how you can disable Modsecurity rules for a particular domain.
Note: You will need to manually create the apache2,
custom, and domain folders under /var/webuzo-data. Then, add the
configuration file with your domain name inside /var/webuzo-data/apache2/custom/domains/domain.conf.
The same procedure applies for all web servers, including Apache2, Nginx, OpenLiteSpeed, and LiteSpeed.
Procedure
You do this by custom conf or htaccess.
To disable rules for a particular domain, you can add the following
configuration inside the domain-specific configuration file (e.g.,
domain.com.conf):
module mod_security {
modsecurity on
modsecurity_rules `
SecRuleRemoveById 941160
SecRuleRemoveById 949110 `
}
Note :
You can do this using custom conf or .htaccess.
SecRuleRemoveById 949110 add this in conf or .htaccess