Move volatile vhost from www to static
authorPeter Palfrader <peter@palfrader.org>
Wed, 1 Jan 2014 21:53:42 +0000 (22:53 +0100)
committerPeter Palfrader <peter@palfrader.org>
Wed, 1 Jan 2014 21:53:42 +0000 (22:53 +0100)
modules/roles/templates/apache-www.debian.org.erb
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb

index 7775d96..a4a4e8d 100644 (file)
    RewriteRule ^/doc/([^/]+)/?(.*)? /doc/manuals/$1/$2 [L,R=301]
 
 </VirtualHost>
-
-
-<VirtualHost <%= vhost_listen %> >
-   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/
-</VirtualHost>
index 1da1eb5..672726a 100644 (file)
@@ -88,4 +88,11 @@ Use common-static-vhost-ssl dsa.debian.org
        RedirectPermanent / http://www.ports.debian.org/
 </VirtualHost>
 
+<VirtualHost <%= vhost_listen %> >
+       ServerName volatile.debian.org
+       ServerAlias volatile-master.debian.org
+       ServerAdmin debian-admin@debian.org
+       RedirectPermanent / http://www.debian.org/volatile/
+</VirtualHost>
+
 # vim:ft=apache: