[OSM-talk] nginx and mod_tile
Stefan de Konink
stefan at konink.de
Thu Oct 1 10:34:05 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
John Smith schreef:
> 2009/10/1 Stefan de Konink <stefan at konink.de>:
>> NL is running on Cherokee, we have a 404 script that communicates with
>> renderd. I guess this can be used by lighttpd and nginx too.
> I tried to code something similar like this in php before but didn't
> get very far at the time, can your script be run as a fastcgi script?
> If it can this would have similar performance as mod_tile...
I think it was on this list before;
vserver!20!document_root = /var/www/tile.openstreetmap.nl/htdocs
vserver!20!error_handler = error_redir
vserver!20!error_handler!404!show = 0
vserver!20!error_handler!404!url = /live/render.py
This basically creates an invisible redirection if a tile doesn't exist.
I really doesn't matter if it is visible. The script should get the tile
one way or the other.
This is our active script for that:
And we are currently working on a modified version of renderd that
allows other projections, helping out in testing, debugging and fixing
is appreciated :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the talk