From 72c58371d55bf69cebafea8de290337c9be51b04 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 4 Feb 2010 23:11:28 +0100 Subject: add rule to be ignored for wordpress, as it prevents additional uploads --- templates/vhosts/php_wordpress/php_wordpress.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates') diff --git a/templates/vhosts/php_wordpress/php_wordpress.erb b/templates/vhosts/php_wordpress/php_wordpress.erb index 980fc26..72f4907 100644 --- a/templates/vhosts/php_wordpress/php_wordpress.erb +++ b/templates/vhosts/php_wordpress/php_wordpress.erb @@ -65,6 +65,7 @@ SecDebugLog <%= logdir %>/mod_security_debug.log # http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/modsecurity.html SecRuleRemoveById "960010" + SecRuleRemoveById "950018" <%- unless additional_options.to_s == 'absent' then -%> @@ -135,6 +136,7 @@ SecDebugLog <%= logdir %>/mod_security_debug.log # http://optics.csufresno.edu/~kriehn/fedora/fedora_files/f9/howto/modsecurity.html SecRuleRemoveById "960010" + SecRuleRemoveById "950018" <%- unless additional_options.to_s == 'absent' then -%> -- cgit v1.2.3 From 66c8f8e10c5f6d7d0d44ac4f174ae89e269abbb9 Mon Sep 17 00:00:00 2001 From: Andreas Date: Tue, 16 Mar 2010 16:22:16 +0100 Subject: typo3 partial errors in backend -> disable modsec for /typo3. Errors like You don't have permission to access /typo3/alt_doc.php --- templates/vhosts/php_typo3/php_typo3.erb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates') 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 + + + SecRuleEngine Off + + + <%- if mod_security.to_s == 'true' then -%> SecRuleEngine On -- cgit v1.2.3