Cannot disable ModSecurity rules via Switch off security rules in Plesk

Comments

1 comment

  • Avatar
    Peter Wise

    To resolve this for the whole server, you can follow the instructions above, but put the new rules in Tools & Settings > Web Application Firewall > Settings > Custom directives

    SecRule REQUEST_FILENAME "@beginswith /wp-admin/options-general.php" "id:012345678,phase:1,t:none,nolog,pass,ctl:ruleRemoveById=33340594"
    SecRule REQUEST_FILENAME "@beginswith /wp-admin/options-general.php" "id:012345679,phase:1,t:none,nolog,pass,ctl:ruleRemoveById=33340595"

    Note that the id: part must be unique - you can make it up but it has to be unique per rule you override. 

    ruleRemoveById: part is copied from the error message

     

    0

Please sign in to leave a comment.

Have more questions? Submit a request