]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/apache2/templates/default-debian.org.erb
167c4fe6d1cde364e79f08433e2a4b81bd196128
[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 privacy
11
12         DocumentRoot /srv/www/default.debian.org/htdocs
13
14         HostnameLookups Off
15         UseCanonicalName Off
16         ServerSignature On
17
18         <IfModule mod_userdir.c>
19                 UserDir disabled
20         </IfModule>
21 <%=
22 case fqdn
23   when "spohr.debian.org" then
24     out += "
25         Alias /debian \"/srv/mirrors/ftp.debian.org/ftp\"
26 "
27   when "piatti.debian.org" then
28     out += "
29        # for piuparts, RT#1218
30        Alias /debian/ \"/org/mirrors/ftp.debian.org/ftp/\"
31        <Directory \"/org/mirrors/ftp.debian.org/ftp/\">
32                Options Indexes MultiViews FollowSymLinks
33                AllowOverride None
34                Order deny,allow
35                Deny from all
36                Allow from 127.0.0.0/255.0.0.0 ::1/128 193.167.161.225/32
37        </Directory>
38 "
39 end
40 out
41 %>
42 </VirtualHost>
43 # vim:set syn=apache: