From 8ce239a5cee5871a83bd5159c307fe2a720fda6c Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Sun, 10 Dec 2017 09:32:12 +0800 Subject: [PATCH] Add lower-case redirects for all the top-level upper-case URLs on www.d.o Upper-case URLs on www.d.o were a terrible idea. --- modules/roles/templates/apache-www.debian.org.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/roles/templates/apache-www.debian.org.erb b/modules/roles/templates/apache-www.debian.org.erb index dee348e07..8e3416d58 100644 --- a/modules/roles/templates/apache-www.debian.org.erb +++ b/modules/roles/templates/apache-www.debian.org.erb @@ -212,7 +212,12 @@ RedirectPermanent /releases/10 /releases/buster RedirectPermanent /releases/unstable /releases/sid RedirectPermanent /support/ /support + +# Upper-case URLs were a bad idea RedirectPermanent /bugs /Bugs + RedirectPermanent /news /News + RedirectPermanent /mailinglists /MailingLists + RedirectPermanent /cd /CD RewriteRule ^/ports/freebsd(.*) /ports/kfreebsd-gnu/ [R=301] RewriteRule ^/devel/debian-installer/report-template(.*) /releases/stable/i386/ch05s04.html#submit-bug [NE,R=301] -- 2.20.1