Update lighttpd config for 0.6 api.
This commit is contained in:
parent
94a807d0d0
commit
2483dcc4bb
1 changed files with 3 additions and 3 deletions
|
@ -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]+/" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue