Bug#963071: Debian RT - add redirects to some /international/ folders that we moved to lowercase
Dear DSA
We have moved to lowercase some language folders under
www.debian.org/international so theses languages are processed in the
same way as the rest (in order to send mail to translators with the
pending translations, see bug #963071 for more details).
I'm attaching a patch to set up redirects in Apache to avoid broken links.
Thanks!
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
>From c9638a6fc7323aecdd51bf5ad1720b8ed8f0c549 Mon Sep 17 00:00:00 2001
From: Laura Arjona Reina <larjona@debian.org>
Date: Sun, 21 Jun 2020 14:34:36 +0200
Subject: [PATCH] add redirects for some /international/ folders that we moved
to lowercase
---
modules/roles/templates/apache-www.debian.org.erb | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/modules/roles/templates/apache-www.debian.org.erb b/modules/roles/templates/apache-www.debian.org.erb
index 3d235ee9e..d1244d657 100644
--- a/modules/roles/templates/apache-www.debian.org.erb
+++ b/modules/roles/templates/apache-www.debian.org.erb
@@ -182,8 +182,8 @@
Redirect /doc/prospective-packages /devel/wnpp/
Redirect /devel/maintainer_contacts /intro/organization
Redirect /devel/debian-installer/gtk-frontend https://wiki.debian.org/DebianInstaller/GUI
- Redirect /zh/ /international/Chinese/
- Redirect /chinese/ /international/Chinese/
+ Redirect /zh/ /international/chinese/
+ Redirect /chinese/ /international/chinese/
Redirect /devel/help /devel/join/
Redirect /distrib/books /doc/books
Redirect /distrib/floppyinst /distrib/netinst
@@ -201,6 +201,9 @@
Redirect /misc/memberships /intro/organization#memberships
Redirect /misc/merchandise /events/merchandise
Redirect /intl /international
+ Redirect /international/Catalan /international/catalan
+ Redirect /international/Chinese /international/chinese
+ Redirect /international/German /international/german
Redirect /ports/armel /ports/arm
Redirect /ports/armhf /ports/arm
Redirect /ports/arm64 /ports/arm
--
2.20.1
Reply to: