summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_wordpress
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-02-04 23:11:28 +0100
committermh <mh@immerda.ch>2010-02-04 23:11:28 +0100
commit72c58371d55bf69cebafea8de290337c9be51b04 (patch)
treeaf339ce3a1649e12562ecae0561e381d0681f268 /templates/vhosts/php_wordpress
parentdaf3cb2965e5c91c0ac817d7edf73581e2c21953 (diff)
add rule to be ignored for wordpress, as it prevents additional uploads
Diffstat (limited to 'templates/vhosts/php_wordpress')
-rw-r--r--templates/vhosts/php_wordpress/php_wordpress.erb2
1 files changed, 2 insertions, 0 deletions
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"
</IfModule>
<%- 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"
</IfModule>
<%- unless additional_options.to_s == 'absent' then -%>