summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_simplemachine/CentOS.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php_simplemachine/CentOS.erb')
-rw-r--r--templates/vhosts/php_simplemachine/CentOS.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/vhosts/php_simplemachine/CentOS.erb b/templates/vhosts/php_simplemachine/CentOS.erb
index 673d92f..75ea550 100644
--- a/templates/vhosts/php_simplemachine/CentOS.erb
+++ b/templates/vhosts/php_simplemachine/CentOS.erb
@@ -44,7 +44,8 @@
<IfModule mod_security2.c>
<%- if mod_security.to_s == 'true' then -%>
SecRuleEngine On
- SecAuditLogType serial
+ SecAuditLogType Concurrent
+ SecAuditLogStorageDir <%= logdir %>/
SecAuditLog <%= logdir %>/mod_security_audit.log
SecDebugLog <%= logdir %>/mod_security_debug.log
<%- else -%>
@@ -102,7 +103,8 @@
<IfModule mod_security2.c>
<%- if mod_security.to_s == 'true' then -%>
SecRuleEngine On
- SecAuditLogType serial
+ SecAuditLogType Concurrent
+ SecAuditLogStorageDir <%= logdir %>/
SecAuditLog <%= logdir %>/mod_security_audit.log
SecDebugLog <%= logdir %>/mod_security_debug.log
<%- else -%>