summaryrefslogtreecommitdiff
path: root/templates/vhosts/php
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-04-01 12:39:49 +0000
committermh <mh@immerda.ch>2009-04-01 12:39:49 +0000
commit952e0bff5d6f695af1b82fb070fbc259a7e4efa0 (patch)
treeaaa62e5be35f2e8a1a3ce2005e23513ceaebc80f /templates/vhosts/php
parent731a196ef680eafadc8e96bca754d20871a798ca (diff)
always write the mod_sec logs to its own logfile
Diffstat (limited to 'templates/vhosts/php')
-rw-r--r--templates/vhosts/php/CentOS.erb12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb
index 7cae983..675a0ac 100644
--- a/templates/vhosts/php/CentOS.erb
+++ b/templates/vhosts/php/CentOS.erb
@@ -44,12 +44,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 -%>
@@ -102,12 +102,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 -%>