merkel's default site is a little different
[mirror/dsa-puppet.git] / modules / apache2 / templates / default-debian.org.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 <VirtualHost *:80>
7         ServerAdmin debian-admin@debian.org
8
9         ErrorLog /var/log/apache2/error.log
10         CustomLog /var/log/apache2/access.log combined
11
12         DocumentRoot /srv/www/default.debian.org/htdocs
13
14         HostnameLookups Off
15         UseCanonicalName Off
16         ServerSignature On
17 <%=
18 out = ''
19 if fqdn == "merkel.debian.org"
20   out = "
21         RemoveType .php .phtml .php3 .phps
22         php_admin_flag engine off
23         <Directory /home/don/public_html/cgi>
24                 SetEnv PERLLIB "/home/don/perl/usr/share/perl5:/home/don/source/"
25                 SetEnv DEBBUGS_CONFIG_FILE "/home/don/config_internal"
26                 SetHandler cgi-script
27                 AllowOverride None
28                 Options +ExecCGI
29                 Order allow,deny
30                 Allow from all
31         </Directory>
32 "
33 else
34   out = "
35         <IfModule mod_userdir.c>
36                 UserDir disabled
37         </IfModule>
38 "
39 end
40 out
41 %>
42 </VirtualHost>
43 # vim:set syn=apache: