summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAndreas <andreas@immerda.ch>2010-03-16 16:22:16 +0100
committerAndreas <andreas@immerda.ch>2010-03-16 16:22:16 +0100
commit66c8f8e10c5f6d7d0d44ac4f174ae89e269abbb9 (patch)
tree1573f581bc86c13bbfd0c0c5cfd651321c17e3c1 /templates
parent34f76230f691de880641f15bfcb84fa7340393f7 (diff)
typo3 partial errors in backend -> disable modsec for /typo3. Errors like You don't have permission to access /typo3/alt_doc.php
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/php_typo3/php_typo3.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/vhosts/php_typo3/php_typo3.erb b/templates/vhosts/php_typo3/php_typo3.erb
index 126dbb1..fbdde07 100644
--- a/templates/vhosts/php_typo3/php_typo3.erb
+++ b/templates/vhosts/php_typo3/php_typo3.erb
@@ -138,6 +138,12 @@
php_admin_value allow_url_fopen On
</Directory>
+ <Location "/typo3">
+ <IfModule mod_security2.c>
+ SecRuleEngine Off
+ </IfModule>
+ </Location>
+
<IfModule mod_security2.c>
<%- if mod_security.to_s == 'true' then -%>
SecRuleEngine On