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