[packages/cacti] add (disabled) modsecurity rules from ubuntu

glen glen at pld-linux.org
Sat Feb 8 20:02:20 CET 2014


commit 9de5076a31c19657f0e2bacb3e2d990df39eda86
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Feb 4 10:00:54 2014 +0200

    add (disabled) modsecurity rules from ubuntu

 cacti-apache.conf | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/cacti-apache.conf b/cacti-apache.conf
index a79cf94..1b46036 100644
--- a/cacti-apache.conf
+++ b/cacti-apache.conf
@@ -1,3 +1,7 @@
+#
+# Cacti: An rrd based graphing tool
+#
+
 Alias /cacti /usr/share/cacti
 <Directory /usr/share/cacti>
 	<IfModule mod_authz_core.c>
@@ -5,7 +9,17 @@ Alias /cacti /usr/share/cacti
 		Require all granted
 	</IfModule>
 	<IfModule !mod_authz_core.c>
+		# Apache 1.3, 2.x
 		Order allow,deny
 		Allow from all
 	</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>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cacti.git/commitdiff/9de5076a31c19657f0e2bacb3e2d990df39eda86



More information about the pld-cvs-commit mailing list