[Tile-serving] [openstreetmap/mod_tile] merging per-server and per-virtualhost config is buggy (#188)

Amanda notifications at github.com
Sun Sep 19 12:13:27 UTC 2021


This bug can be reproduced with this apache config:

	ModTileRenderdSocketName /run/tirex/modtile.sock
	ModTileTileDir /var/cache/tirex/tiles
	AddTileConfig /tiles/test test

	<VirtualHost *:80>
			DocumentRoot /var/www/html
			LogLevel tile:debug

			ErrorLog ${APACHE_LOG_DIR}/error.log
			CustomLog ${APACHE_LOG_DIR}/access.log combined
			
			#AddTileConfig /tiles/test3 test 
	</VirtualHost>

Running tirex with just a `test` config. 

Get the tile works fine

	sudo systemctl reload apache2 ; sudo rm /var/cache/tirex/tiles/test/0/0/0/0/0/0.meta  ; curl localhost/tiles/test/0/0/0.png

Uncomment the `#AddTileConfig` and it will break and lose the socket name

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/188#issuecomment-922464027
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210919/b0f9bd43/attachment.htm>


More information about the Tile-serving mailing list