summaryrefslogtreecommitdiff
path: root/templates/vhosts/php
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-06-24 20:31:54 +0200
committermh <mh@immerda.ch>2009-06-24 20:31:54 +0200
commit5112b0a8ccc83e1b3dc44b55bac5444d7c125877 (patch)
tree3e7a9273c57d1a99780b144fad5f6a51aa5b0853 /templates/vhosts/php
parentd0f322a9b6f63dc02947c2b7ac0fde93dee0e05f (diff)
unified mod_sec stuff, turn audit engine off as well
Diffstat (limited to 'templates/vhosts/php')
-rw-r--r--templates/vhosts/php/CentOS.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb
index f18e8c6..57af260 100644
--- a/templates/vhosts/php/CentOS.erb
+++ b/templates/vhosts/php/CentOS.erb
@@ -48,8 +48,10 @@
<IfModule mod_security2.c>
<%- if mod_security.to_s == 'true' then -%>
SecRuleEngine On
+ SecAuditEngine On
<%- else -%>
SecRuleEngine Off
+ SecAuditEngine Off
<%- end -%>
SecAuditLogType Concurrent
SecAuditLogStorageDir <%= logdir %>/
@@ -108,8 +110,10 @@
<IfModule mod_security2.c>
<%- if mod_security.to_s == 'true' then -%>
SecRuleEngine On
+ SecAuditEngine On
<%- else -%>
SecRuleEngine Off
+ SecAuditEngine Off
<%- end -%>
SecAuditLogType Concurrent
SecAuditLogStorageDir <%= logdir %>/