- Plesk for Linux
How to disable a single ModSecurity rule by its ID for a particular website?
Log into Plesk;
Create a custom Apache directive under Domains > example.com > Apache & nginx Settings > Additional Apache directives section:
Note: it is possible to specify more than one RuleID. Simply add another line, like the following:
CONFIG_TEXT: <IfModule mod_security2.c>
In the example above rules with IDs 340162 and 340163 are disabled for domain example.com.