summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_wordpress
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php_wordpress')
-rw-r--r--templates/vhosts/php_wordpress/CentOS.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/vhosts/php_wordpress/CentOS.erb b/templates/vhosts/php_wordpress/CentOS.erb
index a6e7bdf..393ba6f 100644
--- a/templates/vhosts/php_wordpress/CentOS.erb
+++ b/templates/vhosts/php_wordpress/CentOS.erb
@@ -44,6 +44,7 @@
<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
# http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/modsecurity.html
@@ -107,6 +108,7 @@
SecRuleEngine <%= if mod_security.to_s == 'true' then "On" else "Off" end %>
<%- if mod_security.to_s == 'true' then -%>
SecRuleEngine On
+ SecAuditLogType serial
SecAuditLog <%= logdir %>/mod_security_audit.log
SecDebugLog <%= logdir %>/mod_security_debug.log
# http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/modsecurity.html