]> git.openstreetmap.org Git - chef.git/blob - cookbooks/cgiirc/templates/default/apache.erb
Use 12.04 chef packages on 12.10
[chef.git] / cookbooks / cgiirc / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName <%= @name %>
5         ServerAdmin webmaster@openstreetmap.org
6
7         CustomLog /var/log/apache2/<%= @name %>-access.log combined
8         ErrorLog /var/log/apache2/<%= @name %>-error.log
9
10         DocumentRoot /usr/lib/cgi-bin/cgiirc
11         DirectoryIndex irc.cgi
12         Alias /images /usr/share/images/cgiirc
13
14         <Directory "/usr/lib/cgi-bin/cgiirc">
15                 AddHandler cgi-script .cgi
16         </Directory>
17
18         <IfModule mod_deflate.c>
19                 RemoveOutputFilter DEFLATE
20                 SetEnv no-gzip
21         </IfModule>
22 </VirtualHost>