Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Apache mod_security settings for ModX
#Apache mod_security settings for 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 “/connectors/resource/index.php”>
SecRuleRemoveById 300013 300014 300015 300016
<LocationMatch “/connectors/element/tv.php”>
SecRuleRemoveById 300013 300016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment