projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
94a807d
)
Update lighttpd config for 0.6 api.
author
Tom Hughes
<tom@compton.nu>
Tue, 21 Apr 2009 07:54:00 +0000
(07:54 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 21 Apr 2009 07:54:00 +0000
(07:54 +0000)
config/lighttpd.conf
patch
|
blob
|
history
diff --git
a/config/lighttpd.conf
b/config/lighttpd.conf
index 419f25e3266fb26cb78a5ddbca31de83c1a26fb7..98f914cc96b8f8ce46e058a25d81dd7a3f14e2a6 100644
(file)
--- a/
config/lighttpd.conf
+++ b/
config/lighttpd.conf
@@
-124,13
+124,13
@@
server.document-root = "/home/rails/public"
$HTTP["useragent"] == "tilesAtHome" {
server.error-handler-404 = "/dispatch.tah"
}
$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"
}
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"
}
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]+/" {
server.error-handler-404 = "/dispatch.api"
}
else $HTTP["url"] =~ "^/api/0\.[0-9]+/" {