From: Tom Hughes Date: Wed, 15 Aug 2007 08:00:23 +0000 (+0000) Subject: Quite a few people still seem to ask www.openstreetmap.org for wiki X-Git-Tag: live~8189 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/753e45060473045dcecbff4910d61e747862f6b5 Quite a few people still seem to ask www.openstreetmap.org for wiki pages, so redirect them. --- diff --git a/config/lighttpd.conf b/config/lighttpd.conf index 557a048bc..9e859b2e0 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -7,6 +7,7 @@ server.modules = ( "mod_compress", "mod_evasive", "mod_fastcgi", + "mod_redirect", "mod_status" ) @@ -80,6 +81,11 @@ compress.filetype = ( # compress.cache-dir = "/var/cache/lighttpd" +# +# Redirect wiki requests to the wiki +# +url.redirect = ( "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/wiki/$1" ) + # # Serve static content from the rails public area ourselves #