aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/httpd.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/httpd.conf b/conf/httpd.conf
index 46ea123df..a76a15721 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.25 2007-08-24 23:37:14 matthew Exp $
+# $Id: httpd.conf,v 1.26 2007-09-18 11:17:24 matthew Exp $
DirectoryIndex index.cgi
@@ -30,6 +30,7 @@ RewriteEngine on
# End slashes goodbye
RewriteRule ^/admin/ - [L]
+RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^(.+)/$ $1 [R=permanent]
# Confirmation tokens