Last change
on this file was 11406, checked in by rick, 12 years ago |
Re-install of heatmap on other server with Django 1.4
|
File size:
1.4 KB
|
Rev | Line | |
---|
[9556] | 1 | <VirtualHost *:80>
|
---|
[11406] | 2 | ServerAdmin info@rickvanderzwet.nl
|
---|
[9556] | 3 | DocumentRoot /var/empty
|
---|
[11406] | 4 | ServerName tile.vanderzwet.net
|
---|
| 5 | 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
|
---|
[9556] | 6 |
|
---|
[11406] | 7 | ErrorLog /var/log/httpd/net.vanderzwet.tile-error.log
|
---|
| 8 | CustomLog /var/log/httpd/net.vanderzwet.tile-access.log common
|
---|
[9556] | 9 |
|
---|
| 10 | <Directory /var/empty>
|
---|
| 11 | Allow from all
|
---|
| 12 | </Directory>
|
---|
| 13 |
|
---|
| 14 | <Proxy balancer://osmcluster>
|
---|
| 15 | BalancerMember http://a.tile.openstreetmap.org:80 max=3
|
---|
| 16 | BalancerMember http://b.tile.openstreetmap.org:80 max=3
|
---|
| 17 | BalancerMember http://c.tile.openstreetmap.org:80 max=3
|
---|
| 18 | </Proxy>
|
---|
| 19 | # Example /7/63/43.png
|
---|
[10615] | 20 | <Location /osm-tile-proxy>
|
---|
| 21 | Order allow,deny
|
---|
| 22 | Allow from all
|
---|
| 23 | </Location>
|
---|
[11406] | 24 | ProxyPassMatch ^/(\d{1,2}/\d{1,6}/\d{1,6}\.png)$ balancer://osmcluster/$1 lbmethod=byrequests
|
---|
| 25 | CacheEnable disk /
|
---|
[9556] | 26 |
|
---|
| 27 | # 1 week
|
---|
| 28 | CacheDefaultExpire 604800
|
---|
[11406] | 29 | CacheRoot "/usr/local/var/httpd/cache/tile"
|
---|
[9556] | 30 | CacheDirLevels 2
|
---|
| 31 | CacheDirLength 1
|
---|
| 32 | CacheMaxFileSize 1000000
|
---|
| 33 | CacheMinFileSize 1
|
---|
| 34 | CacheIgnoreCacheControl On
|
---|
| 35 | CacheIgnoreNoLastMod On
|
---|
| 36 | CacheIgnoreQueryString Off
|
---|
| 37 | CacheIgnoreHeaders None
|
---|
| 38 | CacheLastModifiedFactor 0.1
|
---|
| 39 | CacheMaxExpire 86400
|
---|
| 40 | CacheStoreNoStore On
|
---|
| 41 | CacheStorePrivate On
|
---|
| 42 |
|
---|
| 43 |
|
---|
| 44 | <Location /balancer-manager>
|
---|
| 45 | SetHandler balancer-manager
|
---|
| 46 |
|
---|
| 47 | Order Deny,Allow
|
---|
| 48 | Allow from all
|
---|
| 49 | </Location>
|
---|
| 50 | </VirtualHost>
|
---|
| 51 |
|
---|
| 52 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.