cacti/cacti-httpd.conf

54 lines
1.3 KiB
Plaintext
Raw Normal View History

#
# Cacti: An rrd based graphing tool
#
2012-03-27 02:14:52 +00:00
# Change the following ACLs to open up Cacti to other network devices.
# For example:
# On httpd 2.4, change "Require host localhost" to "Require all granted".
# On httpd 2.2, change "Allow from localhost" to "Allow from all".
Alias /cacti /usr/share/cacti
<Directory /usr/share/cacti/>
2012-03-27 02:14:52 +00:00
<IfVersion > 2.2>
Require host localhost
</IfVersion>
<IfVersion <= 2.2>
Order deny,allow
Deny from all
Allow from localhost
</IfVersion>
</Directory>
<Directory /usr/share/cacti/install>
# mod_security overrides.
# Uncomment these if you use mod_security.
# allow POST of application/x-www-form-urlencoded during install
#SecRuleRemoveById 960010
# permit the specification of the rrdtool paths during install
#SecRuleRemoveById 900011
</Directory>
2012-03-27 02:14:52 +00:00
# These sections marked "Require all denied" (or "deny from all")
# should not be modified.
# These are in place in order to harden Cacti.
<Directory /usr/share/cacti/log>
2012-03-27 02:14:52 +00:00
<IfVersion > 2.2>
Require all denied
</IfVersion>
<IfVersion <= 2.2>
Order deny,allow
Deny from all
</IfVersion>
</Directory>
<Directory /usr/share/cacti/rra>
2012-03-27 02:14:52 +00:00
<IfVersion > 2.2>
Require all denied
</IfVersion>
<IfVersion <= 2.2>
Order deny,allow
Deny from all
</IfVersion>
</Directory>