- load module once
authorTomasz Pala <gotar@pld-linux.org>
Sat, 13 Jun 2009 12:34:51 +0000 (12:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- commented out local rules, fixed paths

Changed files:
    apache-mod_security.conf -> 1.3

apache-mod_security.conf

index 4c272b2..90b8b7c 100644 (file)
@@ -2,30 +2,29 @@
 
 #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
+       Include conf.d/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
+       Include conf.d/modsecurity.d/modsecurity_crs_20_protocol_violations.conf
+       Include conf.d/modsecurity.d/modsecurity_crs_21_protocol_anomalies.conf
 
        # HTTP policy rules
 
-       Include modsecurity.d/modsecurity_crs_30_http_policy.conf
+       Include conf.d/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
+       Include conf.d/modsecurity.d/modsecurity_crs_35_bad_robots.conf
+       Include conf.d/modsecurity.d/modsecurity_crs_40_generic_attacks.conf
+       Include conf.d/modsecurity.d/modsecurity_crs_45_trojans.conf
+       Include conf.d/modsecurity.d/modsecurity_crs_50_outbound.conf
 
        # Search engines and other crawlers. Only useful if you want to track
        # Google / Yahoo et. al.
@@ -34,5 +33,5 @@ LoadModule security2_module modules/mod_security2.so
 
        # Put your local rules in here.
 
-       Include modsecurity.d/modsecurity_localrules.conf
+       # Include conf.d/modsecurity.d/modsecurity_localrules.conf
 </IfModule>
This page took 0.151018 seconds and 4 git commands to generate.