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-with-extra metadata.ftp-master.debian.org "AddDefaultCharset utf-8"
9 Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debian.org"
10 Use common-static-vhost-with-extra network-test.debian.org "ServerAlias network-test-backend.debian.org"
11 Use common-static-vhost-with-extra blends.debian.org "ServerAlias blends-backend.debian.org"
12 Use common-static-vhost-with-extra wnpp-by-tags.debian.net "ServerAlias wnpp-by-tags-backend.debian.org"
13 Use common-static-vhost-ssl dsa.debian.org
14 Use common-static-vhost-ssl rtc.debian.org
15 Use common-static-vhost-with-extra security-team.debian.org "ServerAlias security-team-backend.debian.org"
19 ######################
20 <Macro static-bits.debian.org-base>
21 ServerName bits.debian.org
22 ServerAdmin debian-admin@lists.debian.org
24 ErrorLog /var/log/apache2/bits.debian.org-error.log
25 <IfModule mod_geoip.c>
26 CustomLog /var/log/apache2/bits.debian.org-public-access.log privacy+geo
29 Use common-static-base bits.debian.org
32 <Virtualhost <%= vhost_listen %> >
36 RewriteCond %{REQUEST_URI} !^/feeds/
37 RewriteRule ^/(.*)$ https://bits.debian.org/$1 [R,L]
38 #RewriteRule ^/(.*)$ https://bits.debian.org/$1 [R=301,L]
40 Use static-bits.debian.org-base
41 CustomLog /var/log/apache2/bits.debian.org-access.log privacy
44 <Virtualhost <%= vhost_listen_443 %> >
45 Use static-bits.debian.org-base
46 CustomLog /var/log/apache2/bits.debian.org-access.log privacyssl
48 Use common-debian-service-ssl bits.debian.org
54 # www.backports.org is the historical place for the backports
55 # website and archive. It is now a CNAME to backports.debian.org:
56 # redirect http requests.
57 <VirtualHost <%= vhost_listen %> >
58 ServerName www.backports.org
59 ServerAlias lists.backports.org
60 ServerAdmin debian-admin@debian.org
61 RedirectPermanent /debian/ http://backports.debian.org/debian-backports/
62 RedirectPermanent /backports.org/ http://backports.debian.org/debian-backports/
63 RedirectPermanent /debian-backports/ http://backports.debian.org/debian-backports/
64 RedirectPermanent / http://backports.debian.org/
68 # www.ports.debian.org
69 ######################
70 <Virtualhost <%= vhost_listen %> >
71 ServerName www.ports.debian.org
72 ServerAlias www.ports-backend.debian.org
73 ServerAdmin debian-admin@lists.debian.org
75 ErrorLog /var/log/apache2/www.ports.debian.org-error.log
76 CustomLog /var/log/apache2/www.ports.debian.org-access.log privacy
78 <IfModule mod_userdir.c>
83 DocumentRoot /srv/static.debian.org/mirrors/www.ports.debian.org/cur
84 <Directory /srv/static.debian.org/mirrors/www.ports.debian.org/cur>
85 AllowOverride FileInfo Indexes Options=Multiviews
86 Options Multiviews Indexes FollowSymLinks Includes
87 IndexOptions FancyIndexing NameWidth=*
88 <% if @lsbmajdistrelease > '7' -%>
96 DefaultType text/plain
97 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
98 AddOutputFilter INCLUDES .xhtml
101 <VirtualHost <%= vhost_listen %> >
102 ServerName www.debian-ports.org
103 ServerAlias debian-ports.org
104 ServerAdmin debian-admin@debian.org
105 RedirectPermanent /archive/ http://archive.ports.debian.org/archive/
106 RedirectPermanent /debian-cd/ http://archive.ports.debian.org/debian-cd/
107 RedirectPermanent /debian-snapshot/ http://archive.ports.debian.org/debian-snapshot/
108 RedirectPermanent /debian/ http://archive.ports.debian.org/debian/
109 RedirectPermanent / http://www.ports.debian.org/
112 <VirtualHost <%= vhost_listen %> >
113 ServerName ports.debian.net
114 ServerAdmin debian-admin@debian.org
115 RedirectPermanent / http://www.ports.debian.org/
120 # now only redirects remain
121 <VirtualHost <%= vhost_listen %> >
122 ServerName women.debian.org
123 ServerAdmin debian-admin@debian.org
125 RedirectPermanent / http://www.debian.org/women/
127 RedirectPermanent /about/ http://www.debian.org/women/about
128 RedirectPermanent /contact/ http://www.debian.org/women/contact
129 RedirectPermanent /faqs/ http://www.debian.org/women/faq
130 RedirectPermanent /home/ http://www.debian.org/women/
131 RedirectPermanent /images/dw.png http://www.debian.org/women/dw.png
132 RedirectPermanent /involvement/ http://www.debian.org/women/participate
133 RedirectPermanent /mentoring/ http://www.debian.org/women/mentoring
134 RedirectPermanent /press/ http://wiki.debian.org/DebianWomen/Press
135 RedirectPermanent /profiles/ http://www.debian.org/women/profiles/
138 <VirtualHost <%= vhost_listen %> >
139 ServerName volatile.debian.org
140 ServerAlias volatile-master.debian.org
141 ServerAdmin debian-admin@debian.org
142 RedirectPermanent / http://www.debian.org/volatile/
145 <VirtualHost <%= vhost_listen %> >
146 ServerName ftp-master.metadata.debian.org
147 ServerAdmin debian-admin@debian.org
148 RedirectPermanent / http://metadata.ftp-master.debian.org/