summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-27 21:37:14 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-27 21:37:14 -0700
commit4448b0e787404565a7351c8c741edc455a092f7d (patch)
tree2d9002cbee42fcd232b0c8627b81548f4823d8d7
parent388f7ba3105b0e246a184c96c7a3ec39b5d89e6d (diff)
Try to disable the parts of mod_security that interfere with the Flash uploader
-rw-r--r--.htaccess6
1 files changed, 6 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 79ba4be2..46dbb2f4 100644
--- a/.htaccess
+++ b/.htaccess
@@ -9,6 +9,12 @@
php_value post_max_size 100M
</IfModule>
+# Try to disable the parts of mod_security that interfere with the Flash uploader
+<IfModule mod_security.c>
+ SecFilterEngine Off
+ SecFilterScanPOST Off
+</IfModule>
+
# You can use mod_rewrite to enable short urls in Gallery 3 (which
# gets rid of the "index.php" from your urls). To do this, you must
# uncomment the block below that starts with <IfModule> and ends with