diff options
-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 b4d389d4b..6428a2006 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 |