]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
Serve xhtml from generic cofiguration
[dsa-puppet.git] / modules / roles / templates / static-mirroring / vhost / static-vhosts-simple.erb
index cdfd0454e63264a2dda773e405465c71b362faf1..4088d28da2b362052a00272e8cb2db521160d8ac 100644 (file)
@@ -5,6 +5,11 @@ Use common-static-vhost backports.debian.org
 Use common-static-vhost-publiclog bits.debian.org
 Use common-static-vhost news.debian.net
 Use common-static-vhost-with-extra ftp-master.metadata.debian.org "AddDefaultCharset utf-8"
+Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debian.org"
+Use common-static-vhost-with-extra network-test.debian.org "ServerAlias network-test-backend.debian.org"
+Use common-static-vhost-with-extra blends.debian.org "ServerAlias blends-backend.debian.org"
+Use common-static-vhost-with-extra wnpp-by-tags.debian.net "ServerAlias wnpp-by-tags-backend.debian.org"
+Use common-static-vhost-with-extra www.ports.debian.org "ServerAlias www.ports-backend.debian.org"
 
 # www.backports.org is the historical place for the backports
 # website and archive.  It is now a CNAME to backports.debian.org:
@@ -37,3 +42,20 @@ Use common-static-vhost-with-extra ftp-master.metadata.debian.org "AddDefaultCha
        RedirectPermanent /profiles/ http://www.debian.org/women/profiles/
 </VirtualHost>
 # vim:ft=apache:
+
+<VirtualHost <%= vhost_listen %> >
+       ServerName www.debian-ports.org
+       ServerAlias debian-ports.org
+       ServerAdmin debian-admin@debian.org
+       RedirectPermanent /archive/           http://archive.ports.debian.org/archive/
+       RedirectPermanent /debian-cd/         http://archive.ports.debian.org/debian-cd/
+       RedirectPermanent /debian-snapshot/   http://archive.ports.debian.org/debian-snapshot/
+       RedirectPermanent /debian/            http://archive.ports.debian.org/debian/
+       RedirectPermanent / http://www.ports.debian.org/
+</VirtualHost>
+
+<VirtualHost <%= vhost_listen %> >
+       ServerName ports.debian.net
+       ServerAdmin debian-admin@debian.org
+       RedirectPermanent / http://www.ports.debian.org/
+</VirtualHost>