3 Use common-static-vhost mozilla.debian.net
4 Use common-static-vhost backports.debian.org
5 Use common-static-vhost incoming.debian.org
6 Use common-static-vhost news.debian.net
7 Use common-static-vhost debaday.debian.net
8 Use common-static-vhost debdeltas.debian.net
9 Use common-static-vhost timeline.debian.net
10 Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debian.org"
11 Use common-static-vhost-with-extra network-test.debian.org "ServerAlias network-test-backend.debian.org"
12 Use common-static-vhost-with-extra blends.debian.org "ServerAlias blends-backend.debian.org"
13 Use common-static-vhost-with-extra wnpp-by-tags.debian.net "ServerAlias wnpp-by-tags-backend.debian.org"
14 Use common-static-vhost-ssl appstream.debian.org
15 Use common-static-vhost-ssl dsa.debian.org
16 Use common-static-vhost-ssl rtc.debian.org
17 Use common-static-vhost-with-extra security-team.debian.org "ServerAlias security-team-backend.debian.org"
18 Use common-static-vhost 10years.debconf.org
19 Use common-static-vhost debconf0.debconf.org
20 Use common-static-vhost debconf1.debconf.org
21 Use common-static-vhost debconf2.debconf.org
22 Use common-static-vhost debconf3.debconf.org
23 Use common-static-vhost debconf4.debconf.org
24 Use common-static-vhost debconf5.debconf.org
25 Use common-static-vhost debconf6.debconf.org
26 Use common-static-vhost debconf7.debconf.org
27 Use common-static-vhost es.debconf.org
28 Use common-static-vhost fr.debconf.org
29 Use common-static-vhost miniconf10.debconf.org
31 # metadata.ftp-master.debian.org
32 <VirtualHost <%= vhost_listen %> >
33 ServerName metadata.ftp-master.debian.org
34 ServerAdmin debian-admin@lists.debian.org
36 ErrorLog /var/log/apache2/metadata.ftp-master.debian.org-error.log
37 CustomLog /var/log/apache2/metadata.ftp-master.debian.org-access.log privacy
39 Use common-static-base metadata.ftp-master.debian.org
40 AddDefaultCharset utf-8
41 <LocationMatch "/changelogs/(main|contrib|non-free)">
47 ######################
48 <Macro static-bits.debian.org-base>
49 ServerName bits.debian.org
50 ServerAdmin debian-admin@lists.debian.org
52 ErrorLog /var/log/apache2/bits.debian.org-error.log
53 <IfModule mod_geoip.c>
54 CustomLog /var/log/apache2/bits.debian.org-public-access.log privacy+geo
57 Use common-static-base bits.debian.org
60 <Virtualhost <%= vhost_listen %> >
64 RewriteCond %{REQUEST_URI} !^/feeds/
65 RewriteRule ^/(.*)$ https://bits.debian.org/$1 [R,L]
66 #RewriteRule ^/(.*)$ https://bits.debian.org/$1 [R=301,L]
68 Use static-bits.debian.org-base
69 CustomLog /var/log/apache2/bits.debian.org-access.log privacy
72 <Virtualhost <%= vhost_listen_443 %> >
73 Use static-bits.debian.org-base
74 CustomLog /var/log/apache2/bits.debian.org-access.log privacyssl
76 Use common-debian-service-ssl bits.debian.org
82 # www.backports.org is the historical place for the backports
83 # website and archive. It is now a CNAME to backports.debian.org:
84 # redirect http requests.
85 <VirtualHost <%= vhost_listen %> >
86 ServerName www.backports.org
87 ServerAlias lists.backports.org
88 ServerAdmin debian-admin@debian.org
89 RedirectPermanent /debian/ http://backports.debian.org/debian-backports/
90 RedirectPermanent /backports.org/ http://backports.debian.org/debian-backports/
91 RedirectPermanent /debian-backports/ http://backports.debian.org/debian-backports/
92 RedirectPermanent / http://backports.debian.org/
96 # www.ports.debian.org
97 ######################
98 <Virtualhost <%= vhost_listen %> >
99 ServerName www.ports.debian.org
100 ServerAlias www.ports-backend.debian.org
101 ServerAdmin debian-admin@lists.debian.org
103 ErrorLog /var/log/apache2/www.ports.debian.org-error.log
104 CustomLog /var/log/apache2/www.ports.debian.org-access.log privacy
106 <IfModule mod_userdir.c>
111 DocumentRoot /srv/static.debian.org/mirrors/www.ports.debian.org/cur
112 <Directory /srv/static.debian.org/mirrors/www.ports.debian.org/cur>
113 AllowOverride FileInfo Indexes Options=Multiviews
114 Options Multiviews Indexes FollowSymLinks Includes
115 IndexOptions FancyIndexing NameWidth=*
116 <% if @lsbmajdistrelease > '7' -%>
124 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
125 AddOutputFilter INCLUDES .xhtml
128 <VirtualHost <%= vhost_listen %> >
129 ServerName www.debian-ports.org
130 ServerAlias debian-ports.org
131 ServerAdmin debian-admin@debian.org
132 RedirectPermanent /archive/ http://archive.ports.debian.org/archive/
133 RedirectPermanent /debian-cd/ http://archive.ports.debian.org/debian-cd/
134 RedirectPermanent /debian-snapshot/ http://archive.ports.debian.org/debian-snapshot/
135 RedirectPermanent /debian/ http://archive.ports.debian.org/debian/
136 RedirectPermanent / http://www.ports.debian.org/
139 <VirtualHost <%= vhost_listen %> >
140 ServerName ports.debian.net
141 ServerAdmin debian-admin@debian.org
142 RedirectPermanent / http://www.ports.debian.org/
147 <VirtualHost <%= vhost_listen %> >
148 ServerName video.debian.net
149 ServerAdmin debian-admin@debian.org
151 Redirect / http://meetings-archive.debian.net/pub/debian-meetings/
156 # now only redirects remain
157 <VirtualHost <%= vhost_listen %> >
158 ServerName women.debian.org
159 ServerAdmin debian-admin@debian.org
161 RedirectPermanent / http://www.debian.org/women/
163 RedirectPermanent /about/ http://www.debian.org/women/about
164 RedirectPermanent /contact/ http://www.debian.org/women/contact
165 RedirectPermanent /faqs/ http://www.debian.org/women/faq
166 RedirectPermanent /home/ http://www.debian.org/women/
167 RedirectPermanent /images/dw.png http://www.debian.org/women/dw.png
168 RedirectPermanent /involvement/ http://www.debian.org/women/participate
169 RedirectPermanent /mentoring/ http://www.debian.org/women/mentoring
170 RedirectPermanent /press/ http://wiki.debian.org/DebianWomen/Press
171 RedirectPermanent /profiles/ http://www.debian.org/women/profiles/
174 <VirtualHost <%= vhost_listen %> >
175 ServerName volatile.debian.org
176 ServerAlias volatile-master.debian.org
177 ServerAdmin debian-admin@debian.org
178 RedirectPermanent / http://www.debian.org/volatile/
181 <VirtualHost <%= vhost_listen %> >
182 ServerName ftp-master.metadata.debian.org
183 ServerAdmin debian-admin@debian.org
184 RedirectPermanent / http://metadata.ftp-master.debian.org/