]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
www.p.d.o: add includes options
[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 Use common-static-vhost-with-extra network-test.debian.org "ServerAlias network-test-backend.debian.org"
10 Use common-static-vhost-with-extra blends.debian.org "ServerAlias blends-backend.debian.org"
11 Use common-static-vhost-with-extra wnpp-by-tags.debian.net "ServerAlias wnpp-by-tags-backend.debian.org"
12
13 # www.backports.org is the historical place for the backports
14 # website and archive.  It is now a CNAME to backports.debian.org:
15 # redirect http requests.
16 <VirtualHost <%= vhost_listen %> >
17         ServerName www.backports.org
18         ServerAlias lists.backports.org
19         ServerAdmin debian-admin@debian.org
20         RedirectPermanent /debian/           http://backports.debian.org/debian-backports/
21         RedirectPermanent /backports.org/    http://backports.debian.org/debian-backports/
22         RedirectPermanent /debian-backports/ http://backports.debian.org/debian-backports/
23         RedirectPermanent / http://backports.debian.org/
24 </VirtualHost>
25
26
27 <VirtualHost <%= vhost_listen %> >
28         ServerName women.debian.org
29         ServerAdmin debian-admin@debian.org
30
31         RedirectPermanent / http://www.debian.org/women/
32
33         RedirectPermanent /about/ http://www.debian.org/women/about
34         RedirectPermanent /contact/ http://www.debian.org/women/contact
35         RedirectPermanent /faqs/ http://www.debian.org/women/faq
36         RedirectPermanent /home/ http://www.debian.org/women/
37         RedirectPermanent /images/dw.png http://www.debian.org/women/dw.png
38         RedirectPermanent /involvement/ http://www.debian.org/women/participate
39         RedirectPermanent /mentoring/ http://www.debian.org/women/mentoring
40         RedirectPermanent /press/ http://wiki.debian.org/DebianWomen/Press
41         RedirectPermanent /profiles/ http://www.debian.org/women/profiles/
42 </VirtualHost>
43
44 # debian ports stuff
45 ####################
46 <Virtualhost <%= vhost_listen %> >
47         ServerName www.ports.debian.org
48         ServerAlias www.ports-backend.debian.org
49         ServerAdmin debian-admin@lists.debian.org
50
51         ErrorLog /var/log/apache2/www.ports.debian.org-error.log
52         CustomLog /var/log/apache2/www.ports.debian.org-access.log privacy
53
54         <IfModule mod_userdir.c>
55                 UserDir disabled
56         </IfModule>
57         ServerSignature On
58
59         DocumentRoot /srv/static.debian.org/mirrors/www.ports.debian.org/cur
60         <Directory /srv/static.debian.org/mirrors/www.ports.debian.org/cur>
61                 AllowOverride FileInfo Indexes Options=Multiviews
62                 Options Multiviews Indexes FollowSymLinks Includes
63                 IndexOptions FancyIndexing NameWidth=*
64                 Order allow,deny
65                 Allow from all
66         </Directory>
67
68         DefaultType text/plain
69         AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
70         AddOutputFilter INCLUDES .xhtml
71 </VirtualHost>
72
73 <VirtualHost <%= vhost_listen %> >
74         ServerName www.debian-ports.org
75         ServerAlias debian-ports.org
76         ServerAdmin debian-admin@debian.org
77         RedirectPermanent /archive/           http://archive.ports.debian.org/archive/
78         RedirectPermanent /debian-cd/         http://archive.ports.debian.org/debian-cd/
79         RedirectPermanent /debian-snapshot/   http://archive.ports.debian.org/debian-snapshot/
80         RedirectPermanent /debian/            http://archive.ports.debian.org/debian/
81         RedirectPermanent / http://www.ports.debian.org/
82 </VirtualHost>
83
84 <VirtualHost <%= vhost_listen %> >
85         ServerName ports.debian.net
86         ServerAdmin debian-admin@debian.org
87         RedirectPermanent / http://www.ports.debian.org/
88 </VirtualHost>
89
90 # vim:ft=apache: