]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 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
index e1815f82f4e7779e43234c32e5a90732efa63358..eb9cd2fa18961c78ea5f38456b6c9d0a8c69f2ee 100644 (file)
@@ -3,8 +3,12 @@
 Use common-static-vhost mozilla.debian.net
 Use common-static-vhost backports.debian.org
 Use common-static-vhost-publiclog bits.debian.org
-Use common-static-vhost ftp-master.metadata.debian.org
 Use common-static-vhost news.debian.net
+Use common-static-vhost-with-extra ftp-master.metadata.debian.org "AddDefaultCharset utf-8"
+Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debian.org"
+Use common-static-vhost-with-extra network-test.debian.org "ServerAlias network-test-backend.debian.org"
+Use common-static-vhost-with-extra blends.debian.org "ServerAlias blends-backend.debian.org"
+Use common-static-vhost-with-extra wnpp-by-tags.debian.net "ServerAlias wnpp-by-tags-backend.debian.org"
 
 # www.backports.org is the historical place for the backports
 # website and archive.  It is now a CNAME to backports.debian.org:
@@ -19,4 +23,68 @@ Use common-static-vhost news.debian.net
        RedirectPermanent / http://backports.debian.org/
 </VirtualHost>
 
+
+<VirtualHost <%= vhost_listen %> >
+       ServerName women.debian.org
+       ServerAdmin debian-admin@debian.org
+
+       RedirectPermanent / http://www.debian.org/women/
+
+       RedirectPermanent /about/ http://www.debian.org/women/about
+       RedirectPermanent /contact/ http://www.debian.org/women/contact
+       RedirectPermanent /faqs/ http://www.debian.org/women/faq
+       RedirectPermanent /home/ http://www.debian.org/women/
+       RedirectPermanent /images/dw.png http://www.debian.org/women/dw.png
+       RedirectPermanent /involvement/ http://www.debian.org/women/participate
+       RedirectPermanent /mentoring/ http://www.debian.org/women/mentoring
+       RedirectPermanent /press/ http://wiki.debian.org/DebianWomen/Press
+       RedirectPermanent /profiles/ http://www.debian.org/women/profiles/
+</VirtualHost>
+
+# debian ports stuff
+####################
+<Virtualhost <%= vhost_listen %> >
+       ServerName www.ports.debian.org
+       ServerAlias www.ports-backend.debian.org
+       ServerAdmin debian-admin@lists.debian.org
+
+       ErrorLog /var/log/apache2/www.ports.debian.org-error.log
+       CustomLog /var/log/apache2/www.ports.debian.org-access.log privacy
+
+       <IfModule mod_userdir.c>
+               UserDir disabled
+       </IfModule>
+       ServerSignature On
+
+       DocumentRoot /srv/static.debian.org/mirrors/www.ports.debian.org/cur
+       <Directory /srv/static.debian.org/mirrors/www.ports.debian.org/cur>
+               AllowOverride FileInfo Indexes Options=Multiviews
+               Options Multiviews Indexes FollowSymLinks Includes
+               IndexOptions FancyIndexing NameWidth=*
+               Order allow,deny
+               Allow from all
+       </Directory>
+
+       DefaultType text/plain
+       AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
+       AddOutputFilter INCLUDES .xhtml
+</VirtualHost>
+
+<VirtualHost <%= vhost_listen %> >
+       ServerName www.debian-ports.org
+       ServerAlias debian-ports.org
+       ServerAdmin debian-admin@debian.org
+       RedirectPermanent /archive/           http://archive.ports.debian.org/archive/
+       RedirectPermanent /debian-cd/         http://archive.ports.debian.org/debian-cd/
+       RedirectPermanent /debian-snapshot/   http://archive.ports.debian.org/debian-snapshot/
+       RedirectPermanent /debian/            http://archive.ports.debian.org/debian/
+       RedirectPermanent / http://www.ports.debian.org/
+</VirtualHost>
+
+<VirtualHost <%= vhost_listen %> >
+       ServerName ports.debian.net
+       ServerAdmin debian-admin@debian.org
+       RedirectPermanent / http://www.ports.debian.org/
+</VirtualHost>
+
 # vim:ft=apache: