add mod_security overrides

mod_security blocks a cacti upgrade procedure. Override and document
the two rules that cause problems. This could probably be tightened
down to apply only to the "install" directory.
This commit is contained in:
Ken Dreyer 2011-10-27 20:52:18 -06:00
parent 236450cab3
commit 75b8883bd9

View File

@ -11,6 +11,14 @@ Alias /cacti /usr/share/cacti
Order Deny,Allow Order Deny,Allow
Deny from all Deny from all
Allow from 127.0.0.1 Allow from 127.0.0.1
# mod_security overrides
<IfModule security2_module>
# allow POST of application/x-www-form-urlencoded during install
SecRuleRemoveById 960010
# permit the specification of the rrdtool paths during install
SecRuleRemoveById 900011
</IfModule>
</Directory> </Directory>