No more mail for @gobby
[mirror/dsa-puppet.git] / modules / apache2 / templates / default-debian.org.erb
index 9f40d2a..ea0fa67 100644 (file)
        HostnameLookups Off
        UseCanonicalName Off
        ServerSignature On
-<%=
-out = case fqdn
-  when "master.debian.org" then ""
-  when "vento.debian.org" then ""
-else
-"
+
        <IfModule mod_userdir.c>
                UserDir disabled
        </IfModule>
-"
-end
-case fqdn
-  when "spohr.debian.org" then
-    out += "
-        Alias /debian \"/org/mirrors/ftp.debian.org/ftp\"
-"
-  when "piatti.debian.org" then
-    out += "
-       # for piuparts, RT#1218
-       Alias /debian/ \"/org/mirrors/ftp.debian.org/ftp/\"
-       <Directory \"/org/mirrors/ftp.debian.org/ftp/\">
-               Options Indexes MultiViews FollowSymLinks
-               AllowOverride None
-               Order deny,allow
-               Deny from all
-               Allow from 127.0.0.0/255.0.0.0 ::1/128 193.167.161.225/32
-       </Directory>
-"
-end
-out
-%>
+<% if hostname == "spohr" -%>
+        Alias /debian "/srv/mirrors/ftp.debian.org/ftp"
+<% end -%>
 </VirtualHost>
 # vim:set syn=apache: