+ RewriteRule ^/doc/manuals/?$ /doc/ [L,R=301]
+
+# Relocation of blends pages
+ RewriteRule ^/devel/hamradio(.*)$ /blends/hamradio$1 [R=301,L]
+
+# Relocation of derivatives pages
+ RewriteRule ^/misc/children-distros(?:\.html)?$ /derivatives/ [R=301,L]
+ RewriteRule ^/misc/children-distros(\.[^\.]+(?:\.html)?)$ /derivatives/index$1 [R=301,L]
+</Macro>
+
+<Macro common-www.d.o>
+ ServerName www.debian.org
+ ServerAlias www-*.debian.org
+
+ Use common-www.d.o-inner
+</Macro>
+
+
+<VirtualHost <%= @vhost_listen %> >
+ ErrorLog /var/log/apache2/www.debian.org-error.log
+ CustomLog /var/log/apache2/www.debian.org-access.log privacy
+
+ ServerName www.debian.org
+ Redirect / https://www.debian.org/
+</VirtualHost>
+<VirtualHost <%= @vhost_listen_443 %> >
+ ErrorLog /var/log/apache2/www.debian.org-error.log
+ CustomLog /var/log/apache2/www.debian.org-access.log privacyssl
+
+ Use common-www.d.o
+
+ Use common-debian-service-ssl www.debian.org
+ Use common-ssl-HSTS
+</VirtualHost>
+
+<% if scope.function_onion_global_service_hostname(['www.debian.org']) -%>
+<VirtualHost <%= @vhost_listen %> >
+ ErrorLog /var/log/apache2/www.debian.org-error.log
+ CustomLog /var/log/apache2/www.debian.org-access.log privacy
+
+ ServerName <%= scope.function_onion_global_service_hostname(['www.debian.org']) %>
+
+ Use common-www.d.o-inner
+</VirtualHost>
+<% end %>
+
+
+# www other
+###########
+<VirtualHost <%= @vhost_listen %> >
+ Use common-www-other.d.o
+
+ ErrorLog /var/log/apache2/www-other.debian.org-error.log
+ CustomLog /var/log/apache2/www-other.debian.org-access.log privacy
+
+ Redirect permanent / https://www.debian.org/
+</VirtualHost>
+<VirtualHost <%= @vhost_listen_443 %> >
+ Use common-www-other.d.o
+
+ CustomLog /var/log/apache2/www-other-access.log privacyssl
+ ErrorLog /var/log/apache2/www-other-error.log
+
+ Redirect permanent / https://www.debian.org/