we want vote live stats
[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 = case fqdn
19   when "master.debian.org" then ""
20   when "vento.debian.org" then ""
21 else
22 "
23         <IfModule mod_userdir.c>
24                 UserDir disabled
25         </IfModule>
26 "
27 end
28 case fqdn
29   when "spohr.debian.org" then
30     out += "
31         Alias /debian \"/org/mirrors/ftp.debian.org/ftp\"
32 "
33   when "piatti.debian.org" then
34     out += "
35        # for piuparts, RT#1218
36        Alias /debian/ \"/org/mirrors/ftp.debian.org/ftp/\"
37        <Directory \"/org/mirrors/ftp.debian.org/ftp/\">
38                Options Indexes MultiViews FollowSymLinks
39                AllowOverride None
40                Order deny,allow
41                Deny from all
42                Allow from 127.0.0.0/255.0.0.0 ::1/128 193.167.161.225/32
43        </Directory>
44 "
45 end
46 out
47 %>
48 </VirtualHost>
49 # vim:set syn=apache: