]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Add a redirect vhost for {www.,}debian-ports.org
authorPeter Palfrader <peter@palfrader.org>
Fri, 13 Dec 2013 20:20:31 +0000 (21:20 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 13 Dec 2013 20:20:50 +0000 (21:20 +0100)
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index 5f4293488220626f84a3c77b56f71929a6966e91..bf21e19b519a9821e9ab139c5b60fe5f5445b23a 100644 (file)
@@ -42,3 +42,14 @@ 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>