]> git.openstreetmap.org Git - rails.git/blobdiff - config/lighttpd.conf
Redirect trac requests to the right place.
[rails.git] / config / lighttpd.conf
index 9e859b2e0a79bb8314a20c14dd811adc089bb55e..7395a4b08867e1fd1b0635a8909d8737a94f8184 100644 (file)
@@ -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/wiki/$1" )
+url.redirect = ( 
+  "^/trac/(.*)$" => "http://trac.openstreetmap.org/$1",
+  "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/$1"
+)
 
 #
 # Serve static content from the rails public area ourselves