2 <Macro common-dsa-vhost-https-redirect $name>
3 <VirtualHost <%= vhost_listen %> >
5 ServerAdmin debian-admin@lists.debian.org
7 CustomLog /var/log/apache2/$name-access.log privacy
8 ErrorLog /var/log/apache2/$name-error.log
10 Redirect permanent / https://$name/
14 <Macro common-dsa-vhost-https-redirect-temp $name>
15 <VirtualHost <%= vhost_listen %> >
17 ServerAdmin debian-admin@lists.debian.org
19 CustomLog /var/log/apache2/$name-access.log privacy
20 ErrorLog /var/log/apache2/$name-error.log
22 Redirect / https://$name/
26 <Macro common-static-base $name>
27 <IfModule mod_userdir.c>
32 DocumentRoot /srv/static.debian.org/mirrors/$name/cur
33 <Directory /srv/static.debian.org/mirrors/$name/cur>
34 AllowOverride FileInfo Indexes Options=Multiviews
35 Options Indexes SymLinksIfOwnerMatch
36 IndexOptions FancyIndexing NameWidth=*
37 <% if @lsbmajdistrelease > '7' -%>
45 Header set Surrogate-Key <%= hostname %>
47 DefaultType text/plain
48 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
52 <Macro common-static-vhost-with-extra $name $extra>
53 <Virtualhost <%= vhost_listen %> >
55 ServerAdmin debian-admin@lists.debian.org
57 ErrorLog /var/log/apache2/$name-error.log
58 CustomLog /var/log/apache2/$name-access.log privacy
60 Use common-static-base $name
65 <Macro common-static-vhost $name>
66 Use common-static-vhost-with-extra $name "# nada"
70 <Macro common-static-vhost-ssl $name>
71 Use common-dsa-vhost-https-redirect $name
73 <Virtualhost <%= vhost_listen_443 %> >
75 ServerAdmin debian-admin@lists.debian.org
77 ErrorLog /var/log/apache2/$name-error.log
78 CustomLog /var/log/apache2/$name-access.log privacyssl
80 Use common-debian-service-ssl $name
83 Use common-static-base $name