pepebe
8/30/2013 - 10:07 AM

Apache mod_security settings for ModX

Apache mod_security settings for ModX

#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>