]> git.openstreetmap.org Git - chef.git/blob - cookbooks/stats/templates/default/apache.erb
Update "latest" links for planet dump files
[chef.git] / cookbooks / stats / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName stats.openstreetmap.org
5         ServerAlias stats.osm.org
6         ServerAdmin webmaster@openstreetmap.org
7
8         CustomLog /var/log/apache2/stats.openstreetmap.org-access.log combined
9         ErrorLog /var/log/apache2/stats.openstreetmap.org-error.log
10
11         DocumentRoot <%= @directory %>
12         Alias /awstats-icon/ /usr/share/awstats/icon/
13         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
14 </VirtualHost>
15
16 <Directory /var/lib/awstats>
17         Options None
18         AllowOverride None
19         Order allow,deny
20         Allow from all
21 </Directory>
22
23 <Directory /usr/share/awstats/icon>
24         Options None
25         AllowOverride None
26         Order allow,deny
27         Allow from all
28 </Directory>