- Plesk for Linux
How to override a single Web Application Firewall (ModSecurity) rule for a website?
Log in to Plesk and create a custom Apache directive under Domains > example.com > Apache & nginx Settings > Additional Apache directives section:
SecRule REQUEST_FILENAME "@rx ^/test.php$" "id:'1000001',phase:1,t:none,deny,ctl:ruleRemoveById=340249"
In the example above rule with id 340249 is replaced by rule with id 1000001 which restricts access to