summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_joomla
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2009-04-01 14:10:14 +0000
committerandreas <andreas@immerda.ch>2009-04-01 14:10:14 +0000
commit212cbc4e5dcbd6bd6acc9d78bf5f54bad47c6c90 (patch)
treed9bfae9ecc6cc9c72a8100ff6897b33845c51bfa /templates/vhosts/php_joomla
parent952e0bff5d6f695af1b82fb070fbc259a7e4efa0 (diff)
still errors in log, strange, but better run in permissive mode, to activate later
- mod_security has problems with compress content -> deactivate mod_deflate and gzip (in applications)
Diffstat (limited to 'templates/vhosts/php_joomla')
-rw-r--r--templates/vhosts/php_joomla/CentOS.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/vhosts/php_joomla/CentOS.erb b/templates/vhosts/php_joomla/CentOS.erb
index 72415cc..96558c4 100644
--- a/templates/vhosts/php_joomla/CentOS.erb
+++ b/templates/vhosts/php_joomla/CentOS.erb
@@ -71,7 +71,7 @@
SecRuleRemoveById 960010
</LocationMatch>
<%- else -%>
- SecRuleEngine Off
+ SecRuleEngine DetectionOnly
<%- end -%>
SecAuditLogType serial
SecAuditLog <%= logdir %>/mod_security_audit.log
@@ -145,7 +145,7 @@
SecRuleRemoveById 960010
</LocationMatch>
<%- else -%>
- SecRuleEngine Off
+ SecRuleEngine DetectionOnly
<%- end -%>
SecAuditLogType serial
SecAuditLog <%= logdir %>/mod_security_audit.log