X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fapache-www.debian.org.erb;h=6b3354291f23d0554bc681bcc0b5b2b465f594ac;hb=942bbed848a6cd86bab53c9acfc72e95a3408332;hp=f0e56c0021fcd2c52804e49f88c3d6ed92e0d192;hpb=a7ebdea294490b1d2ade994e93718f95946d5f33;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/apache-www.debian.org.erb b/modules/roles/templates/apache-www.debian.org.erb index f0e56c002..6b3354291 100644 --- a/modules/roles/templates/apache-www.debian.org.erb +++ b/modules/roles/templates/apache-www.debian.org.erb @@ -10,6 +10,10 @@ # Make sure that the srm.conf directive is commented out. AddDefaultCharSet Off AllowOverride AuthConfig FileInfo + <% if @lsbmajdistrelease > '7' -%> + Require all granted + <% end -%> + # Serve icons as image/x-icon AddType image/x-icon .ico @@ -127,6 +131,9 @@ ServerAlias www.debian.es ServerAlias debian.es + ServerAlias www.debian.org.tw + ServerAlias debian.org.tw + ServerAlias www.debian.at ServerAlias www.debian.de ServerAlias newwww.deb.at @@ -134,8 +141,8 @@ DocumentRoot <%= wwwdo_document_root %>/ ErrorLog /var/log/apache2/www-other.debian.org-error.log CustomLog /var/log/apache2/www-other.debian.org-access.log privacy - RewriteLog /var/log/apache2/www-other.debian.org-redirect.log - RewriteLogLevel 1 + #RewriteLog /var/log/apache2/www-other.debian.org-redirect.log + #RewriteLogLevel 1 RewriteEngine on RewriteRule ^/(.*)$ http://www.debian.org/$1 [R=301,L] @@ -206,11 +213,15 @@ RedirectPermanent /intl /international RedirectPermanent /ports/armel /ports/arm RedirectPermanent /ports/armhf /ports/arm + RedirectPermanent /ports/arm64 /ports/arm RedirectPermanent /ports/mipsel /ports/mips RedirectPermanent /ports/kfreebsd-amd64 /ports/kfreebsd-gnu RedirectPermanent /ports/kfreebsd-i386 /ports/kfreebsd-gnu RedirectPermanent /ports/sparc64 /ports/sparc RedirectPermanent /ports/s390x /ports/s390 + RedirectPermanent /ports/ppc64 /ports/powerpc + RedirectPermanent /ports/ppc64el /ports/powerpc + RedirectPermanent /ports/powerpcspe /ports/powerpc RedirectPermanent /mirror/mirrors_full.html /mirror/list-full.html RedirectPermanent /mirrors /mirror RedirectPermanent /News/project /News/weekly @@ -224,6 +235,8 @@ RedirectPermanent /releases/6.0 /releases/squeeze RedirectPermanent /releases/7 /releases/wheezy RedirectPermanent /releases/8 /releases/jessie + RedirectPermanent /releases/9 /releases/stretch + RedirectPermanent /releases/10 /releases/buster RedirectPermanent /releases/unstable /releases/sid RewriteRule ^/ports/freebsd(.*) /ports/kfreebsd-gnu/ [R=301]