]> git.openstreetmap.org Git - chef.git/blob - cookbooks/munin/templates/default/apache.erb
Fix typo
[chef.git] / cookbooks / munin / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName munin.openstreetmap.org
5         ServerAlias munin.osm.org
6         ServerAdmin webmaster@openstreetmap.org
7
8         CustomLog /var/log/apache2/munin.openstreetmap.org-access.log combined
9         ErrorLog /var/log/apache2/munin.openstreetmap.org-error.log
10
11         DocumentRoot /var/cache/munin/www
12         ScriptAlias /munin-cgi/ /usr/lib/munin/cgi/
13
14         RewriteEngine on
15         RewriteRule ^(/.*\.html)?$ /munin-cgi/munin-cgi-html/$1 [PT]
16 </VirtualHost>
17
18 <Directory /var/cache/munin/www>
19         Require all granted
20 </Directory>
21
22 <Directory /usr/lib/munin/cgi>
23         Options +ExecCGI
24         SetHandler fcgid-script
25         Require all granted
26 </Directory>