Update lighttpd config for 0.6 api.
authorTom Hughes <tom@compton.nu>
Tue, 21 Apr 2009 07:54:00 +0000 (07:54 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 21 Apr 2009 07:54:00 +0000 (07:54 +0000)
config/lighttpd.conf

index 419f25e3266fb26cb78a5ddbca31de83c1a26fb7..98f914cc96b8f8ce46e058a25d81dd7a3f14e2a6 100644 (file)
@@ -124,13 +124,13 @@ server.document-root = "/home/rails/public"
 $HTTP["useragent"] == "tilesAtHome" {
   server.error-handler-404 = "/dispatch.tah"
 }
-else $HTTP["url"] =~ "^/api/0\.5/(map|trackpoints|amf|amf/read|swf/trackpoints)$" {
+else $HTTP["url"] =~ "^/api/0\.6/(map|trackpoints|amf|amf/read|swf/trackpoints)$" {
   server.error-handler-404 = "/dispatch.bulkapi"
 }
-else $HTTP["url"] =~ "^/api/0\.5/.*/search$" {
+else $HTTP["url"] =~ "^/api/0\.6/.*/search$" {
   server.error-handler-404 = "/dispatch.bulkapi"
 }
-else $HTTP["url"] =~ "^/api/0\.5/" {
+else $HTTP["url"] =~ "^/api/0\.6/" {
   server.error-handler-404 = "/dispatch.api"
 }
 else $HTTP["url"] =~ "^/api/0\.[0-9]+/" {