From 753e45060473045dcecbff4910d61e747862f6b5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 15 Aug 2007 08:00:23 +0000 Subject: [PATCH] Quite a few people still seem to ask www.openstreetmap.org for wiki pages, so redirect them. --- config/lighttpd.conf | 6 ++++++ 1 file changed, 6 insertions(+) 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 # -- 2.45.1