Last change
on this file since 11407 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
|
Line | |
---|
1 | <VirtualHost *:80>
|
---|
2 | ServerAdmin info@rickvanderzwet.nl
|
---|
3 | DocumentRoot /var/empty
|
---|
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
|
---|
6 |
|
---|
7 | ErrorLog /var/log/httpd/net.vanderzwet.tile-error.log
|
---|
8 | CustomLog /var/log/httpd/net.vanderzwet.tile-access.log common
|
---|
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
|
---|
20 | <Location /osm-tile-proxy>
|
---|
21 | Order allow,deny
|
---|
22 | Allow from all
|
---|
23 | </Location>
|
---|
24 | ProxyPassMatch ^/(\d{1,2}/\d{1,6}/\d{1,6}\.png)$ balancer://osmcluster/$1 lbmethod=byrequests
|
---|
25 | CacheEnable disk /
|
---|
26 |
|
---|
27 | # 1 week
|
---|
28 | CacheDefaultExpire 604800
|
---|
29 | CacheRoot "/usr/local/var/httpd/cache/tile"
|
---|
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.