cacti/cacti-httpd.conf

56 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/>
<IfModule mod_authz_core.c>
# httpd 2.4
2012-03-27 02:14:52 +00:00
Require host localhost
</IfModule>
<IfModule !mod_authz_core.c>
# httpd 2.2
2012-03-27 02:14:52 +00:00
Order deny,allow
Deny from all
Allow from localhost
</IfModule>
</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>
# These sections marked "Require all denied" (or "Deny from all")
2012-03-27 02:14:52 +00:00
# should not be modified.
# These are in place in order to harden Cacti.
<Directory /usr/share/cacti/log>
<IfModule mod_authz_core.c>
2012-03-27 02:14:52 +00:00
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
2012-03-27 02:14:52 +00:00
Order deny,allow
Deny from all
</IfModule>
</Directory>
<Directory /usr/share/cacti/rra>
<IfModule mod_authz_core.c>
2012-03-27 02:14:52 +00:00
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
2012-03-27 02:14:52 +00:00
Order deny,allow
Deny from all
</IfModule>
</Directory>