]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
Add vhost
[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 Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debian.org"
9
10 # www.backports.org is the historical place for the backports
11 # website and archive.  It is now a CNAME to backports.debian.org:
12 # redirect http requests.
13 <VirtualHost <%= vhost_listen %> >
14         ServerName www.backports.org
15         ServerAlias lists.backports.org
16         ServerAdmin debian-admin@debian.org
17         RedirectPermanent /debian/           http://backports.debian.org/debian-backports/
18         RedirectPermanent /backports.org/    http://backports.debian.org/debian-backports/
19         RedirectPermanent /debian-backports/ http://backports.debian.org/debian-backports/
20         RedirectPermanent / http://backports.debian.org/
21 </VirtualHost>
22
23
24 <VirtualHost <%= vhost_listen %> >
25         ServerName women.debian.org
26         ServerAdmin debian-admin@debian.org
27
28         RedirectPermanent / http://www.debian.org/women/
29
30         RedirectPermanent /about/ http://www.debian.org/women/about
31         RedirectPermanent /contact/ http://www.debian.org/women/contact
32         RedirectPermanent /faqs/ http://www.debian.org/women/faq
33         RedirectPermanent /home/ http://www.debian.org/women/
34         RedirectPermanent /images/dw.png http://www.debian.org/women/dw.png
35         RedirectPermanent /involvement/ http://www.debian.org/women/participate
36         RedirectPermanent /mentoring/ http://www.debian.org/women/mentoring
37         RedirectPermanent /press/ http://wiki.debian.org/DebianWomen/Press
38         RedirectPermanent /profiles/ http://www.debian.org/women/profiles/
39 </VirtualHost>
40 # vim:ft=apache: