summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_wordpress
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-04-13 15:08:10 +0000
committermh <mh@immerda.ch>2009-04-13 15:08:10 +0000
commit5f4404b87faa75c2e8ce674aa61d8119e176480b (patch)
tree352067287c695f3601872435aa3a9ee4768e2f3f /templates/vhosts/php_wordpress
parent212cbc4e5dcbd6bd6acc9d78bf5f54bad47c6c90 (diff)
setting logging style of mod_sec
according to http://thread.gmane.org/gmane.comp.apache.mod-security.user/5257/focus=5260 it should be that way.
Diffstat (limited to 'templates/vhosts/php_wordpress')
-rw-r--r--templates/vhosts/php_wordpress/CentOS.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/vhosts/php_wordpress/CentOS.erb b/templates/vhosts/php_wordpress/CentOS.erb
index e315b7b..5f8b2b6 100644
--- a/templates/vhosts/php_wordpress/CentOS.erb
+++ b/templates/vhosts/php_wordpress/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
# http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/modsecurity.html
@@ -104,7 +105,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
# http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/modsecurity.html