# see also static mirrors.
$wwwdo_document_root = '/srv/www.debian.org/www'
+ $vhost_listen = '*:80'
apache2::site { '010-www.debian.org':
site => 'www.debian.org',
content => template('roles/apache-www.debian.org.erb'),
</Files>
</Directory>
-<VirtualHost *:80>
+<VirtualHost <%= vhost_listen %> >
ServerName www.nl.debian.org
ServerAdmin webmaster@debian.org
ServerAlias www.debian.com www.debian.de www.*.debian.org newwww.deb.at www.debian.net debian.net debian.org www.debian.at www.debian.eu debian.eu debian.com
RewriteRule ^/(.*)$ http://www.debian.org/$1 [R=301,L]
</VirtualHost>
-<VirtualHost *:80>
+<VirtualHost <%= vhost_listen %> >
ServerName www.debian.org
ServerAdmin webmaster@debian.org
ServerAlias www-*.debian.org
</VirtualHost>
-<VirtualHost *:80>
+<VirtualHost <%= vhost_listen %> >
ServerName volatile.debian.org
ServerAlias volatile-master.debian.org
ServerAdmin webmaster@debian.org