Created
August 30, 2013 10:07
-
-
Save pepebe/6388349 to your computer and use it in GitHub Desktop.
Apache mod_security settings for ModX
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
#Apache mod_security settings for ModX | |
#SOurce: http://www.faqforge.com/linux/apache-mod_security-settings-for-wordpress-and-modx/ | |
#If you use the apache mod_security module on your apache server, you might encounter wrong 403 errors for several URL’s of the cms systems. Here are some exception rules to avoid that: | |
<LocationMatch "/manager/index.php"> | |
SecRuleRemoveById 300016 | |
</LocationMatch> | |
<LocationMatch “/connectors/resource/index.php”> | |
SecRuleRemoveById 300013 300014 300015 300016 | |
</LocationMatch> | |
<LocationMatch “/connectors/element/tv.php”> | |
SecRuleRemoveById 300013 300016 | |
</LocationMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment