From: Tom Hughes Date: Mon, 20 Aug 2007 14:03:40 +0000 (+0000) Subject: Redirect trac requests to the right place. X-Git-Tag: live~8164 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c1dc2410c3f88f2a0e05110585ac12c94796a60e?ds=inline Redirect trac requests to the right place. --- diff --git a/config/lighttpd.conf b/config/lighttpd.conf index 0a6840e4b..7395a4b08 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -82,9 +82,12 @@ compress.filetype = ( compress.cache-dir = "/var/cache/lighttpd" # -# Redirect wiki requests to the wiki +# Redirect trac and wiki requests to the right places # -url.redirect = ( "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/$1" ) +url.redirect = ( + "^/trac/(.*)$" => "http://trac.openstreetmap.org/$1", + "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/$1" +) # # Serve static content from the rails public area ourselves