fe32fcf
#
fe32fcf
# Cacti: An rrd based graphing tool
fe32fcf
#
fe32fcf
fe32fcf
# For security reasons, the Cacti web interface is accessible only to
fe32fcf
# localhost in the default configuration. If you want to allow other clients
fe32fcf
# to access your Cacti installation, change the httpd ACLs below.
fe32fcf
# For example:
fe32fcf
# On httpd 2.4, change "Require host localhost" to "Require all granted".
fe32fcf
# On httpd 2.2, change "Allow from localhost" to "Allow from all".
fe32fcf
fe32fcf
Alias /cacti    /usr/share/cacti
fe32fcf
fe32fcf
<Directory /usr/share/cacti/>
fe32fcf
	<IfModule mod_authz_core.c>
fe32fcf
		# httpd 2.4
fe32fcf
		Require host localhost
fe32fcf
	</IfModule>
fe32fcf
	<IfModule !mod_authz_core.c>
fe32fcf
		# httpd 2.2
fe32fcf
		Order deny,allow
fe32fcf
		Deny from all
fe32fcf
		Allow from localhost
fe32fcf
	</IfModule>
fe32fcf
</Directory>
fe32fcf
fe32fcf
<Directory /usr/share/cacti/install>
fe32fcf
	# mod_security overrides.
fe32fcf
	# Uncomment these if you use mod_security.
fe32fcf
	# allow POST of application/x-www-form-urlencoded during install
fe32fcf
	#SecRuleRemoveById 960010
fe32fcf
	# permit the specification of the rrdtool paths during install
fe32fcf
	#SecRuleRemoveById 900011
fe32fcf
</Directory>
fe32fcf
fe32fcf
fe32fcf
# These sections marked "Require all denied" (or "Deny from all")
fe32fcf
# should not be modified.
fe32fcf
# These are in place in order to harden Cacti.
fe32fcf
<Directory /usr/share/cacti/log>
fe32fcf
	<IfModule mod_authz_core.c>
fe32fcf
		Require all denied
fe32fcf
	</IfModule>
fe32fcf
	<IfModule !mod_authz_core.c>
fe32fcf
		Order deny,allow
fe32fcf
		Deny from all
fe32fcf
	</IfModule>
fe32fcf
</Directory>
fe32fcf
<Directory /usr/share/cacti/rra>
fe32fcf
	<IfModule mod_authz_core.c>
fe32fcf
		Require all denied
fe32fcf
	</IfModule>
fe32fcf
	<IfModule !mod_authz_core.c>
fe32fcf
		Order deny,allow
fe32fcf
		Deny from all
fe32fcf
	</IfModule>
fe32fcf
</Directory>