2006-02-07 01:42:50 +00:00
|
|
|
#
|
|
|
|
# Cacti: An rrd based graphing tool
|
|
|
|
#
|
2011-10-27 22:44:43 +00:00
|
|
|
|
|
|
|
# Change "Allow from 127.0.0.1" to open up cacti to other network devices.
|
|
|
|
# For example, change "Allow from 127.0.0.1" to "Allow from all".
|
|
|
|
|
2006-02-07 01:42:50 +00:00
|
|
|
Alias /cacti /usr/share/cacti
|
|
|
|
|
|
|
|
<Directory /usr/share/cacti/>
|
|
|
|
Order Deny,Allow
|
|
|
|
Deny from all
|
|
|
|
Allow from 127.0.0.1
|
2011-10-28 02:52:18 +00:00
|
|
|
|
|
|
|
# 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>
|
2006-02-07 01:42:50 +00:00
|
|
|
</Directory>
|
|
|
|
|
2011-10-27 22:44:43 +00:00
|
|
|
|
|
|
|
# The sections marked "deny from all" should not be modified.
|
|
|
|
# These are in place in order to harden cacti.
|
|
|
|
<Directory /usr/share/cacti/log>
|
|
|
|
order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</Directory>
|
|
|
|
<Directory /usr/share/cacti/rra>
|
|
|
|
order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</Directory>
|
|
|
|
|