diff options
author | mh <mh@immerda.ch> | 2009-04-01 12:39:49 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-04-01 12:39:49 +0000 |
commit | 952e0bff5d6f695af1b82fb070fbc259a7e4efa0 (patch) | |
tree | aaa62e5be35f2e8a1a3ce2005e23513ceaebc80f /templates/vhosts/perl/CentOS.erb | |
parent | 731a196ef680eafadc8e96bca754d20871a798ca (diff) |
always write the mod_sec logs to its own logfile
Diffstat (limited to 'templates/vhosts/perl/CentOS.erb')
-rw-r--r-- | templates/vhosts/perl/CentOS.erb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/vhosts/perl/CentOS.erb b/templates/vhosts/perl/CentOS.erb index 5a5c2b4..f4da7d5 100644 --- a/templates/vhosts/perl/CentOS.erb +++ b/templates/vhosts/perl/CentOS.erb @@ -50,12 +50,12 @@ <IfModule mod_security2.c> <%- if mod_security.to_s == 'true' then -%> SecRuleEngine On - SecAuditLogType serial - SecAuditLog <%= logdir %>/mod_security_audit.log - SecDebugLog <%= logdir %>/mod_security_debug.log <%- else -%> SecRuleEngine Off <%- end -%> + SecAuditLogType serial + SecAuditLog <%= logdir %>/mod_security_audit.log + SecDebugLog <%= logdir %>/mod_security_debug.log </IfModule> <%- unless additional_options.to_s == 'absent' then -%> @@ -111,12 +111,12 @@ <IfModule mod_security2.c> <%- if mod_security.to_s == 'true' then -%> SecRuleEngine On - SecAuditLogType serial - SecAuditLog <%= logdir %>/mod_security_audit.log - SecDebugLog <%= logdir %>/mod_security_debug.log <%- else -%> SecRuleEngine Off <%- end -%> + SecAuditLogType serial + SecAuditLog <%= logdir %>/mod_security_audit.log + SecDebugLog <%= logdir %>/mod_security_debug.log </IfModule> <%- unless additional_options.to_s == 'absent' then -%> |