diff options
author | francis <francis> | 2009-08-03 22:48:27 +0000 |
---|---|---|
committer | francis <francis> | 2009-08-03 22:48:27 +0000 |
commit | 0c44511e3c78e55bc8ce5dfcfc5832a99afe0c08 (patch) | |
tree | 5de550b3a0222a80e55036b7878a9b9c9ae87950 | |
parent | 4a20be03a5e2c9ca7eb8726e00adb5c1ba4e8fca (diff) |
Redirect to new files. domain
-rw-r--r-- | config/httpd.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/httpd.conf b/config/httpd.conf index e08de4c71..6570a96ff 100644 --- a/config/httpd.conf +++ b/config/httpd.conf @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org # -# $Id: httpd.conf,v 1.28 2009-08-01 14:08:27 francis Exp $ +# $Id: httpd.conf,v 1.29 2009-08-03 22:48:27 francis Exp $ # This is needed for the PHP spell checker <Location /fcgi> @@ -34,3 +34,8 @@ RewriteRule /([^.]*)$ /down.html [R] RewriteCond %{DOCUMENT_ROOT}/down.html !-s RewriteRule /down.html / [R] +# Old /files URL to new subdomain (as can't use Alias with passenger, +# so we do it on its own domain). This is for custom admin upload +# files for archiving. +RewriteRule /files/(.+) http://files.whatdotheyknow.com/$1 + |