]> git.openstreetmap.org Git - rails.git/blobdiff - config/lighttpd.conf
Reverse order of marker and vector layers to stop the vector layer
[rails.git] / config / lighttpd.conf
index 070d2f1757e266f2e43e700677218a1743493a1b..419f25e3266fb26cb78a5ddbca31de83c1a26fb7 100644 (file)
@@ -58,7 +58,7 @@ evasive.max-conns-per-ip = 20
 mimetype.assign = (
   ".css" => "text/css",
   ".gif" => "image/gif",
-  ".html" => "text/html",
+  ".html" => "text/html; charset=utf-8",
   ".js" => "application/x-javascript",
   ".png" => "image/png",
   ".swf" => "application/x-shockwave-flash",
@@ -124,7 +124,7 @@ server.document-root = "/home/rails/public"
 $HTTP["useragent"] == "tilesAtHome" {
   server.error-handler-404 = "/dispatch.tah"
 }
-else $HTTP["url"] =~ "^/api/0\.5/(map|trackpoints|amf|swf/trackpoints)$" {
+else $HTTP["url"] =~ "^/api/0\.5/(map|trackpoints|amf|amf/read|swf/trackpoints)$" {
   server.error-handler-404 = "/dispatch.bulkapi"
 }
 else $HTTP["url"] =~ "^/api/0\.5/.*/search$" {