From 952e0bff5d6f695af1b82fb070fbc259a7e4efa0 Mon Sep 17 00:00:00 2001 From: mh Date: Wed, 1 Apr 2009 12:39:49 +0000 Subject: always write the mod_sec logs to its own logfile --- templates/vhosts/php_joomla/CentOS.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'templates/vhosts/php_joomla') diff --git a/templates/vhosts/php_joomla/CentOS.erb b/templates/vhosts/php_joomla/CentOS.erb index 285cf8d..72415cc 100644 --- a/templates/vhosts/php_joomla/CentOS.erb +++ b/templates/vhosts/php_joomla/CentOS.erb @@ -56,9 +56,6 @@ <%- if mod_security.to_s == 'true' then -%> SecRuleEngine On - SecAuditLogType serial - SecAuditLog <%= logdir %>/mod_security_audit.log - SecDebugLog <%= logdir %>/mod_security_debug.log # http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/modsecurity.html # Exceptions for Joomla Root Directory @@ -76,6 +73,9 @@ <%- else -%> SecRuleEngine Off <%- end -%> + SecAuditLogType serial + SecAuditLog <%= logdir %>/mod_security_audit.log + SecDebugLog <%= logdir %>/mod_security_debug.log <%- unless additional_options.to_s == 'absent' then -%> @@ -130,9 +130,6 @@ <%- if mod_security.to_s == 'true' then -%> SecRuleEngine On - SecAuditLogType serial - SecAuditLog <%= logdir %>/mod_security_audit.log - SecDebugLog <%= logdir %>/mod_security_debug.log # http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/modsecurity.html # Exceptions for Joomla Root Directory @@ -150,6 +147,9 @@ <%- else -%> SecRuleEngine Off <%- end -%> + SecAuditLogType serial + SecAuditLog <%= logdir %>/mod_security_audit.log + SecDebugLog <%= logdir %>/mod_security_debug.log <%- unless additional_options.to_s == 'absent' then -%> -- cgit v1.2.3