- based on fedora auto/ti/apache-mod_security-2_1_4-0_1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 10 Jan 2008 00:29:40 +0000 (00:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_security.conf -> 1.2

apache-mod_security.conf

index 52d79fd..4c272b2 100644 (file)
@@ -1 +1,38 @@
-LoadModule security_module modules/mod_security.so
+# Configuration file for the mod_security Apache module
+
+#LoadFile LIBDIR/libxml2.so.2
+
+LoadModule security2_module modules/mod_security2.so
+LoadModule security2_module modules/mod_security2.so
+
+<IfModule mod_security2.c>
+       # This is the ModSecurity Core Rules Set.
+
+       # Basic configuration goes in here
+       Include modsecurity.d/modsecurity_crs_10_config.conf
+
+       # Protocol violation and anomalies.
+
+       Include modsecurity.d/modsecurity_crs_20_protocol_violations.conf
+       Include modsecurity.d/modsecurity_crs_21_protocol_anomalies.conf
+
+       # HTTP policy rules
+
+       Include modsecurity.d/modsecurity_crs_30_http_policy.conf
+
+       # Here comes the Bad Stuff...
+
+       Include modsecurity.d/modsecurity_crs_35_bad_robots.conf
+       Include modsecurity.d/modsecurity_crs_40_generic_attacks.conf
+       Include modsecurity.d/modsecurity_crs_45_trojans.conf
+       Include modsecurity.d/modsecurity_crs_50_outbound.conf
+
+       # Search engines and other crawlers. Only useful if you want to track
+       # Google / Yahoo et. al.
+
+       # Include modsecurity.d/modsecurity_crs_55_marketing.conf
+
+       # Put your local rules in here.
+
+       Include modsecurity.d/modsecurity_localrules.conf
+</IfModule>
This page took 0.037698 seconds and 4 git commands to generate.