]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
try this
[dsa-puppet.git] / modules / roles / templates / static-mirroring / vhost / static-vhosts-simple.erb
1 # puppet maintained
2
3 Use common-static-vhost mozilla.debian.net
4 Use common-static-vhost backports.debian.org
5 Use common-static-vhost-publiclog bits.debian.org
6 Use common-static-vhost news.debian.net
7 Use common-static-vhost-with-extra ftp-master.metadata.debian.org "AddDefaultCharset utf-8"
8
9 # www.backports.org is the historical place for the backports
10 # website and archive.  It is now a CNAME to backports.debian.org:
11 # redirect http requests.
12 <VirtualHost <%= vhost_listen %> >
13         ServerName www.backports.org
14         ServerAlias lists.backports.org
15         ServerAdmin debian-admin@debian.org
16         RedirectPermanent /debian/           http://backports.debian.org/debian-backports/
17         RedirectPermanent /backports.org/    http://backports.debian.org/debian-backports/
18         RedirectPermanent /debian-backports/ http://backports.debian.org/debian-backports/
19         RedirectPermanent / http://backports.debian.org/
20
21         DefaultType text/plain
22 </VirtualHost>
23
24
25 <VirtualHost <%= vhost_listen %> >
26         ServerName women.debian.org
27         ServerAdmin debian-admin@debian.org
28
29         RedirectPermanent / http://www.debian.org/women/
30
31         RedirectPermanent /about/ http://www.debian.org/women/about
32         RedirectPermanent /contact/ http://www.debian.org/women/contact
33         RedirectPermanent /faqs/ http://www.debian.org/women/faq
34         RedirectPermanent /home/ http://www.debian.org/women/
35         RedirectPermanent /images/dw.png http://www.debian.org/women/dw.png
36         RedirectPermanent /involvement/ http://www.debian.org/women/participate
37         RedirectPermanent /mentoring/ http://www.debian.org/women/mentoring
38         RedirectPermanent /press/ http://wiki.debian.org/DebianWomen/Press
39         RedirectPermanent /profiles/ http://www.debian.org/women/profiles/
40
41         DefaultType text/plain
42 </VirtualHost>
43 # vim:ft=apache: