]> git.openstreetmap.org Git - chef.git/blob - cookbooks/stats/templates/default/apache.erb
put dulcy in production mode and enable backups
[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         Require all granted
20 </Directory>
21
22 <Directory /usr/share/awstats/icon>
23         Options None
24         AllowOverride None
25         Require all granted
26 </Directory>