From 9ad4acf729fd2f69e2e358c67be24efe13f588b7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 1 Jan 2014 22:53:42 +0100 Subject: [PATCH] Move volatile vhost from www to static --- modules/roles/templates/apache-www.debian.org.erb | 10 ---------- .../static-mirroring/vhost/static-vhosts-simple.erb | 7 +++++++ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/modules/roles/templates/apache-www.debian.org.erb b/modules/roles/templates/apache-www.debian.org.erb index 7775d9685..a4a4e8dc2 100644 --- a/modules/roles/templates/apache-www.debian.org.erb +++ b/modules/roles/templates/apache-www.debian.org.erb @@ -245,13 +245,3 @@ RewriteRule ^/doc/([^/]+)/?(.*)? /doc/manuals/$1/$2 [L,R=301] - - - > - ServerName volatile.debian.org - ServerAlias volatile-master.debian.org - ServerAdmin webmaster@debian.org - ErrorLog /var/log/apache2/volatile.debian.org-error.log - CustomLog /var/log/apache2/volatile.debian.org-access.log privacy - RedirectMatch permanent . http://www.debian.org/volatile/ - diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 1da1eb598..672726a00 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -88,4 +88,11 @@ Use common-static-vhost-ssl dsa.debian.org RedirectPermanent / http://www.ports.debian.org/ + > + ServerName volatile.debian.org + ServerAlias volatile-master.debian.org + ServerAdmin debian-admin@debian.org + RedirectPermanent / http://www.debian.org/volatile/ + + # vim:ft=apache: -- 2.20.1