diff options
-rw-r--r-- | config/httpd.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/httpd.conf b/config/httpd.conf index 28d10f382..d5a8a4866 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.17 2008-11-11 17:08:14 francis Exp $ +# $Id: httpd.conf,v 1.18 2008-11-14 17:36:50 francis Exp $ # This is needed for the PHP spell checker <Location /fcgi> @@ -43,6 +43,7 @@ RewriteRule /down.html / [R] # Use Mongrel as the main webserver (more reliable than FastCGI for Rails) RewriteCond %{REQUEST_URI} !^/jslib/ RewriteCond %{REQUEST_URI} !^/fcgi/ +RewriteCond %{REQUEST_URI} !^/files/ RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteRule ^/(.*) http://localhost:3000/$1 [P] # This is roughly equivalent to ProxyPass, but lets Apache serve the static files. |