aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/httpd.conf7
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
+