Make a volatile.d.o vhost that just redirects to www
authorPeter Palfrader <peter@palfrader.org>
Thu, 12 Apr 2012 14:10:01 +0000 (16:10 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 12 Apr 2012 14:10:01 +0000 (16:10 +0200)
modules/roles/files/www_mirror/www.debian.org

index c9b6048..83e263f 100644 (file)
    RewriteRule ^/doc/([^/]+)/?(.*)? /doc/manuals/$1/$2 [L,R=301]
 
 </VirtualHost>
+
+
+<VirtualHost *:80>
+   ServerName volatile.debian.org
+   ServerAdmin webmaster@debian.org
+   ErrorLog /var/log/apache2/volatile.debian.org-error.log
+   CustomLog /var/log/apache2/volatile.debian.org-access.log combined
+   RedirectMatch permanent . http://www.debian.org/volatile/
+</VirtualHost>