]> git.openstreetmap.org Git - rails.git/blobdiff - config/lighttpd.conf
Make the gpx/id/data API call work, and make gpx/create a POST method
[rails.git] / config / lighttpd.conf
index 557a048bcfaa573cd441ef5e42dd57a65269d45e..0a6840e4bb0720d3a8e9e7f27caab9ec159a8c80 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/$1" )
+
 #
 # Serve static content from the rails public area ourselves
 #