+ 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 <%= @wwwdo_server_name %>
+
+ 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 <%= @wwwdo_server_name %>
+ Redirect / https://<%= @wwwdo_server_name %>/
+</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 <%= @wwwdo_server_name %>
+ Use common-ssl-HSTS
+</VirtualHost>
+<% if scope.function_onion_global_service_hostname([@wwwdo_server_name]) -%>
+<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([@wwwdo_server_name]) %>
+
+ Use common-www.d.o-inner
+</VirtualHost>
+<% end %>
+
+
+<%- if @redirect_vhosts -%>
+# 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/