[Tilesathome] TRAPI down?

Florian Lohoff f at zz.de
Thu May 27 16:24:07 BST 2010


On Thu, May 27, 2010 at 03:21:31PM +0200, Mathieu Arnold wrote:
> | API_TRAPI = http://trapi.osm.lab.rfc822.org/api/%v/map?bbox=%b
> 
> Hum, the thing is that in the default t at h config, it's : 
> http://api1.osm.absolight.net/api/%v/map?bbox=%b

I just cut'n'wasted from my general.conf which i changed to try it out.

> and haproxy forwards the "Host: api1.osm.absolight.net" http header, so,
> you'd need to add a server alias to it in your vhost for it to work.
> After that, your server will appear in green there :
> http://api1.osm.absolight.net/haproxy?stats
> and will start getting requests :-)

You are querying with the alive stuff with a different hostname than when
forwarding queries:

bs5.lab.rfc822.org:80 79.143.240.199 - - [27/May/2010:17:22:20 +0200] "GET /api/0.6/map?bbox=0,0,0,0 HTTP/1.0" 404 292 "-" "-"

Typically my "default" host is empty and only the vhosts have their own config
and directories - so bs5 is empty as the trapi stuff is on the 
"trapi.osm.lab.rfc822.org" hostname ... I added the api1.osm.absolight.net
hostalias to the apache though ...

Flo
-- 
Florian Lohoff                                                 f at zz.de
"Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen."
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20100527/8de29dc0/attachment.pgp>


More information about the Tilesathome mailing list