summaryrefslogtreecommitdiff
path: root/files/mod_security/configs/gentoo/99_mod_security.conf
diff options
context:
space:
mode:
Diffstat (limited to 'files/mod_security/configs/gentoo/99_mod_security.conf')
-rw-r--r--files/mod_security/configs/gentoo/99_mod_security.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/mod_security/configs/gentoo/99_mod_security.conf b/files/mod_security/configs/gentoo/99_mod_security.conf
new file mode 100644
index 0000000..7b76572
--- /dev/null
+++ b/files/mod_security/configs/gentoo/99_mod_security.conf
@@ -0,0 +1,15 @@
+###########################################################
+# copyleft 2008 immerda.ch
+###########################################################
+### this file is managed by PUPPET ####
+### only modify in svn or you will loose the changes ! ####
+###########################################################
+<IfDefine SECURITY>
+ <IfModule !mod_security2.c>
+ LoadModule security2_module modules/mod_security2.so
+ </IfModule>
+
+ # use Core Rule Set by default:
+ Include /etc/apache2/modules.d/mod_security/*.conf
+ Include /etc/apache2/modules.d/mod_security/custom_rules/*.conf
+</IfDefine>