Created
June 20, 2019 14:19
-
-
Save dipakcg/efd64b6a033aad6886f3b3859a6fed2a to your computer and use it in GitHub Desktop.
Specific rules for WordPress exclusion under ModSecurity (mod_security)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<locationmatch "/wp-admin/admin-ajax.php"> | |
SecRuleRemoveById 300013 | |
SecRuleRemoveById 300015 | |
SecRuleRemoveById 300016 | |
SecRuleRemoveById 300017 | |
SecRuleRemoveById 949110 | |
SecRuleRemoveById 980130 | |
</locationmatch> | |
<locationmatch "/wp-admin/page.php"> | |
SecRuleRemoveById 300013 | |
SecRuleRemoveById 300015 | |
SecRuleRemoveById 300016 | |
SecRuleRemoveById 300017 | |
SecRuleRemoveById 949110 | |
SecRuleRemoveById 980130 | |
</locationmatch> | |
<locationmatch "/wp-admin/post.php"> | |
SecRuleRemoveById 300013 | |
SecRuleRemoveById 300015 | |
SecRuleRemoveById 300016 | |
SecRuleRemoveById 300017 | |
SecRuleRemoveById 949110 | |
SecRuleRemoveById 980130 | |
</locationmatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment