diff options
author | matthew <matthew> | 2007-08-16 15:17:24 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-08-16 15:17:24 +0000 |
commit | 3274e991cf35032b1f15b2e3a6b8cc3af1830167 (patch) | |
tree | c8b58102569ab5d4b3d4ebda2affa85ba0254a2e | |
parent | 8520a336afebf2af0524555b7c594b8f24406acc (diff) |
Redirect URLs with slash on the end in FmS; don't log PB::Errors from the
graph generation.
-rw-r--r-- | conf/httpd.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/httpd.conf b/conf/httpd.conf index f95be8f37..a35023739 100644 --- a/conf/httpd.conf +++ b/conf/httpd.conf @@ -20,7 +20,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org # -# $Id: httpd.conf,v 1.19 2007-06-18 20:11:44 matthew Exp $ +# $Id: httpd.conf,v 1.20 2007-08-16 15:17:24 matthew Exp $ DirectoryIndex index.cgi @@ -53,6 +53,8 @@ ProxyPassReverse /tilma/ http://tilma.mysociety.org/ RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.cgi -f RewriteRule /(.+) /$1.cgi [PT] +RewriteRule /(contact|faq|report)/ /$1 [R=permanent] + # Make a file down.html in the DocumentRoot bring down the whole site and # display itself. RewriteCond %{DOCUMENT_ROOT}/down.html -s |