ServerAdmin info@rickvanderzwet.nl DocumentRoot /var/empty ServerName tile.vanderzwet.net ServerAlias a.tile.vanderzwet.net b.tile.vanderzwet.net c.tile.vanderzwet.net d.tile.vanderzwet.net e.tile.vanderzwet.net f.tile.vanderzwet.net ErrorLog /var/log/httpd/net.vanderzwet.tile-error.log CustomLog /var/log/httpd/net.vanderzwet.tile-access.log common Allow from all BalancerMember http://a.tile.openstreetmap.org:80 max=3 BalancerMember http://b.tile.openstreetmap.org:80 max=3 BalancerMember http://c.tile.openstreetmap.org:80 max=3 # Example /7/63/43.png Order allow,deny Allow from all ProxyPassMatch ^/(\d{1,2}/\d{1,6}/\d{1,6}\.png)$ balancer://osmcluster/$1 lbmethod=byrequests CacheEnable disk / # 1 week CacheDefaultExpire 604800 CacheRoot "/usr/local/var/httpd/cache/tile" CacheDirLevels 2 CacheDirLength 1 CacheMaxFileSize 1000000 CacheMinFileSize 1 CacheIgnoreCacheControl On CacheIgnoreNoLastMod On CacheIgnoreQueryString Off CacheIgnoreHeaders None CacheLastModifiedFactor 0.1 CacheMaxExpire 86400 CacheStoreNoStore On CacheStorePrivate On SetHandler balancer-manager Order Deny,Allow Allow from all