UseCanonicalName Off
ServerSignature On
<%=
-out = ''
-if fqdn == "merkel.debian.org"
- out = "
+out = case fqdn
+ when "merkel.debian.org"
+ then "
RemoveType .php .phtml .php3 .phps
php_admin_flag engine off
<Directory /home/don/public_html/cgi>
</Directory>
"
else
- out = "
+"
<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
%>
</VirtualHost>