aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/httpd.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/httpd.conf b/config/httpd.conf
index da7159a09..16894530d 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.7 2008-04-17 09:25:01 francis Exp $
+# $Id: httpd.conf,v 1.8 2008-04-17 09:35:21 francis Exp $
#DirectoryIndex index.cgi
@@ -23,7 +23,8 @@ RewriteCond %{DOCUMENT_ROOT}/down.html !-s
RewriteRule /down.html / [R]
# Use Mongrel as the main webserver (more reliable than FastCGI for Rails)
-RewriteCond %{REQUEST_URI} !^/jslib
+RewriteCond %{REQUEST_URI} !^/jslib/
+RewriteCond %{REQUEST_URI} !^/fcgi/
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.