X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fvhost%2Fstatic-vhosts-simple.erb;h=679a44b089bca07759bb1239f9e891fdfd0b051e;hb=6cd4a98e57474ed8ca8f7b99b8cf485e10c56a85;hp=232565eb5e403093160845b6211da9d7d05fc013;hpb=bee06a193242a1de94f33fa31a32fa89a816222b;p=mirror%2Fdsa-puppet.git
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 232565eb5..679a44b08 100644
--- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
+++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb
@@ -40,4 +40,50 @@ Use common-static-vhost-with-extra wnpp-by-tags.debian.net "ServerAlias wnpp-by-
RedirectPermanent /press/ http://wiki.debian.org/DebianWomen/Press
RedirectPermanent /profiles/ http://www.debian.org/women/profiles/
+
+# 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
+ AddOutputFilter INCLUDES .xhtml
+
+
+ >
+ 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/
+
+
+ >
+ ServerName ports.debian.net
+ ServerAdmin debian-admin@debian.org
+ RedirectPermanent / http://www.ports.debian.org/
+
+
# vim:ft=apache: