Quite a few people still seem to ask www.openstreetmap.org for wiki
authorTom Hughes <tom@compton.nu>
Wed, 15 Aug 2007 08:00:23 +0000 (08:00 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 15 Aug 2007 08:00:23 +0000 (08:00 +0000)
pages, so redirect them.

config/lighttpd.conf

index 557a048bcfaa573cd441ef5e42dd57a65269d45e..9e859b2e0a79bb8314a20c14dd811adc089bb55e 100644 (file)
@@ -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
 #