<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
I have renderd properly configured on my server:<br>
./render_list -s /var/run/renderd/renderd.sock<br>
works well, mapnik works ok with generate_image.py too.<br>
<br>
However, it seems that mod_tile does not rewrite the url:<br>
<a class="moz-txt-link-freetext" href="http://ks396387.kimsufi.com/osm_tiles2/12/2123/1444.png">http://ks396387.kimsufi.com/osm_tiles2/12/2123/1444.png</a> => 404<br>
Apache error.log:<br>
[Wed Jun 27 21:41:09 2012] [error] [client 83.79.142.204] File does
not exist: /var/www/osm_tiles2/12<br>
<br>
Modtile is running: <a class="moz-txt-link-freetext" href="http://ks396387.kimsufi.com/mod_tile">http://ks396387.kimsufi.com/mod_tile</a><br>
/var/lib/mod_tile is writeable by all<br>
/var/www/osm_tiles2 owner to www-data<br>
<br>
Config files:<br>
modtile.conf:<br>
<blockquote>LoadModule tile_module
/usr/lib/apache2/modules/mod_tile.so<br>
<VirtualHost *:80><br>
ServerAdmin webmaster@localhost<br>
AddTileConfig /osm_tiles2/ Default<br>
LoadTileConfigFile /etc/renderd.conf<br>
ModTileRenderdSocketName /var/run/renderd/renderd.sock<br>
ModTileRequestTimeout 3<br>
ModTileMissingRequestTimeout 30<br>
servername ks396387.kimsufi.com<br>
DocumentRoot /var/www<br>
<Directory /><br>
Options FollowSymLinks<br>
AllowOverride None<br>
</Directory><br>
<Directory /var/www/><br>
Options Indexes FollowSymLinks MultiViews<br>
AllowOverride None<br>
Order allow,deny<br>
allow from all<br>
</Directory><br>
ErrorLog ${APACHE_LOG_DIR}/error.log<br>
LogLevel debug<br>
CustomLog ${APACHE_LOG_DIR}/access.log combined<br>
</VirtualHost><br>
</blockquote>
renderd.conf:<br>
<blockquote>[renderd]<br>
socketname=/var/run/renderd/renderd.sock<br>
num_threads=4<br>
tile_dir=/var/lib/mod_tile ; DOES NOT WORK YET<br>
stats_file=/var/run/renderd/renderd.stats<br>
<br>
[mapnik]<br>
plugins_dir=/usr/local/lib/mapnik/input<br>
font_dir=/usr/local/lib/mapnik/fonts<br>
font_dir_recurse=1<br>
<br>
[default]<br>
URI=/osm_tiles2/<br>
XML=/home/website/mapnik-settings/styles/pistes-style.xml <br>
HOST=ks396387.kimsufi.com<br>
;HTCPHOST=proxy.openstreetmap.org<br>
</blockquote>
<br>
I must have overlook something obvious, but I don't see where ???<br>
<br>
Yves<br>
<br>
<br>
</body>
</html>