[OSM-dev] mod_tile help

mingumg mingumg at gmail.com
Tue Mar 3 15:56:07 GMT 2009


Hi,
I have some problems setting up mod_tile in my map server
I have compiled the latest svn version.
My renderd.conf parameters:

[Default]
URI=/osm_tiles2/
XML=/home/mingu/mapnik/osm.xml


I've created the folder Default, and I've chowned to my user.
/var/lib/mod_tile/Default/

I have configured the apache module as follow (mod_tile.conf):

LoadModule tile_module modules/mod_tile.so
<VirtualHost *:80>
    ServerName localhost
    DocumentRoot /home/mingu/www/# You can either manually configure each
tile set
    AddTileConfig /osm_tiles2/ Default
# or load all the tile sets definted in the configuration file into this
virtual host
    LoadTileConfigFile /etc/renderd.conf
# increase the log level for more detailed information
    LogLevel debug
</VirtualHost>


When I try to load a tile in the browser,
http://localhost/osm_tiles2/0/0/0.png, it throws 404 error.
The apache log show me:
[Fri Feb 27 11:06:40 2009] [error] [client 127.0.0.1] File does not exist:
/home/mingu/www/osm_tiles2

It seems the module does not catch the browser request:

./renderd
Rendering daemon
config 0: name(Default) file(/home/mingu/mapnik/osm.xml)
config 1: name() file()
config 2: name() file()
config 3: name() file()
config 4: name() file()
config 5: name() file()
config 6: name() file()
config 7: name() file()
config 8: name() file()
config 9: name() file()


Could you help me ?

Thank you.
Mingu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090303/e8634094/attachment.html>


More information about the dev mailing list