From 4ce28c16c7d7010f6da09bfd78b3210c7b7b1a1e Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Tue, 12 Nov 2013 01:13:09 -0200 Subject: apache-mod-security - load mod_security module only when option is enabled add MLOGC compile option to modsecurity --- config/apache_mod_security-dev/apache.template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config/apache_mod_security-dev') diff --git a/config/apache_mod_security-dev/apache.template b/config/apache_mod_security-dev/apache.template index 9147452c..215f3376 100644 --- a/config/apache_mod_security-dev/apache.template +++ b/config/apache_mod_security-dev/apache.template @@ -4,7 +4,9 @@ if(file_exists( APACHEDIR ."/libexec/apache22/mod_memcache.so")) $mod_mem_cache = "LoadModule memcache_module libexec/apache22/mod_memcache.so\n"; } - + if($mods_settings['enablemodsecurity']=="on") + $mod_security_module= "LoadModule security2_module libexec/apache22/mod_security2.so\n"; + $apache_dir=APACHEDIR; $apache_config = << -- cgit v1.2.3