From b7b61c0ee3d15e815c8e89cfc417e9044ab84697 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 14 Dec 2013 11:14:12 +0100 Subject: [PATCH] And make a different www.ports vhost --- .../vhost/static-vhosts-simple.erb | 31 +++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 4088d28da..5aaa05685 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -9,7 +9,6 @@ Use common-static-vhost-with-extra d-i.debian.org "ServerAlias d-i-backend.debia 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" -Use common-static-vhost-with-extra www.ports.debian.org "ServerAlias www.ports-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: @@ -41,7 +40,33 @@ Use common-static-vhost-with-extra www.ports.debian.org "ServerAlias www.ports-b RedirectPermanent /press/ http://wiki.debian.org/DebianWomen/Press RedirectPermanent /profiles/ http://www.debian.org/women/profiles/ -# vim:ft=apache: + +# debian ports stuff +#################### + > + 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 + + + UserDir disabled + + ServerSignature On + + DocumentRoot /srv/static.debian.org/mirrors/www.ports.debian.org/cur + + AllowOverride FileInfo Indexes Options=Multiviews + IndexOptions FancyIndexing NameWidth=* + Order allow,deny + Allow from all + + + DefaultType text/plain + AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css + > ServerName www.debian-ports.org @@ -59,3 +84,5 @@ Use common-static-vhost-with-extra www.ports.debian.org "ServerAlias www.ports-b ServerAdmin debian-admin@debian.org RedirectPermanent / http://www.ports.debian.org/ + +# vim:ft=apache: -- 2.20.1