summaryrefslogtreecommitdiff
path: root/templates/vhosts/php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php')
-rw-r--r--templates/vhosts/php/CentOS.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/vhosts/php/CentOS.erb b/templates/vhosts/php/CentOS.erb
index 675a0ac..cf7b5bd 100644
--- a/templates/vhosts/php/CentOS.erb
+++ b/templates/vhosts/php/CentOS.erb
@@ -47,7 +47,8 @@
<%- else -%>
SecRuleEngine Off
<%- end -%>
- SecAuditLogType serial
+ SecAuditLogType Concurrent
+ SecAuditLogStorageDir <%= logdir %>/
SecAuditLog <%= logdir %>/mod_security_audit.log
SecDebugLog <%= logdir %>/mod_security_debug.log
</IfModule>
@@ -105,7 +106,8 @@
<%- else -%>
SecRuleEngine Off
<%- end -%>
- SecAuditLogType serial
+ SecAuditLogType Concurrent
+ SecAuditLogStorageDir <%= logdir %>/
SecAuditLog <%= logdir %>/mod_security_audit.log
SecDebugLog <%= logdir %>/mod_security_debug.log
</IfModule>