diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-08-15 15:13:13 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-08-15 16:09:30 +0100 |
commit | 841a699e7061c3d2bcec58d4ff8381ab266747cb (patch) | |
tree | 3372cb6a324a9c464266b84d4f065f72239dae1d | |
parent | d7d3cf4703c38d4e0bc883f224b54ed9b2774efd (diff) |
Don't let apache serve attachments for now.
-rw-r--r-- | config/httpd.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/httpd.conf b/config/httpd.conf index 6428a2006..b4d389d4b 100644 --- a/config/httpd.conf +++ b/config/httpd.conf @@ -41,9 +41,9 @@ RewriteRule /files/(.+) http://files.whatdotheyknow.com/$1 # # The condition means that the rule will fire only if the cached # file exists. -RewriteMap escape int:escape -RewriteCond %{DOCUMENT_ROOT}/views_cache/request/$2/$1/${escape:$3} -f -RewriteRule ^/request/((\d{1,3})\d*)/(response/\d+/attach/\d+/.+) /views_cache/request/$2/$1/${escape:$3} [L] +# RewriteMap escape int:escape +# RewriteCond %{DOCUMENT_ROOT}/views_cache/request/$2/$1/${escape:$3} -f +# RewriteRule ^/request/((\d{1,3})\d*)/(response/\d+/attach/\d+/.+) /views_cache/request/$2/$1/${escape:$3} [L] <IfModule mod_passenger.c> # Set this to something like 100 if you have memory leak issues |