]> 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 5f4293488220626f84a3c77b56f71929a6966e91..4088d28da2b362052a00272e8cb2db521160d8ac 100644 (file)
@@ -42,3 +42,20 @@ Use common-static-vhost-with-extra www.ports.debian.org "ServerAlias www.ports-b
        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>