Bug#924888: Debian RT - Add redirections for www.debian.org/misc/ pages, and group all of them

Laura Arjona Reina <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <13e8a7ee-069f-fe59-3110-3376bd40a11e__13615.1626402111$1563448889$gmane$org@debian.org>
Hello DSA

We're finishing the process of removing the /misc folder in www.debian.org.
Attached you can find a patch for dsa-puppet adding a redirection to
avoid broken links and to guide people to the new place of each content.

More details about this in bug #924888

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924888

Thanks
-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
0001-Add-redirects-for-all-the-misc-section-and-group-all.patch (text/x-diff, 1.7 KB)
>From d57d5f39f82f5d0d241d4059598c9322516bf567 Mon Sep 17 00:00:00 2001
From: Laura Arjona Reina <[email protected]>
Date: Thu, 18 Jul 2019 13:10:43 +0200
Subject: [PATCH] Add redirects for all the /misc section, and group all the
 redirects related to /misc

---
 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 e0fb2c65..f97aab76 100644
--- a/modules/roles/templates/apache-www.debian.org.erb
+++ b/modules/roles/templates/apache-www.debian.org.erb
@@ -144,8 +144,6 @@
    RedirectPermanent /SPI https://www.spi-inc.org
 #   RedirectPermanent /OpenHardware http://www.openhardware.org
    RedirectPermanent /OpenSource https://opensource.org
-   RedirectPermanent /misc/bsd.license https://opensource.org/licenses/BSD-3-Clause
-
    RedirectPermanent /Bugs/db/ix/pseudopackages.html /Bugs/pseudo-packages
    RewriteEngine on
    RewriteRule ^/Bugs/db/pa/l([^/]+).html$ https://bugs.debian.org/$1
@@ -178,6 +176,11 @@
    RedirectPermanent /ports/laptops /misc/laptops/
    RedirectPermanent /misc/README.mirrors /mirror/list
    RedirectPermanent /misc/README.non-US /mirror/list.non-US
+   RedirectPermanent /misc/awards /News/awards
+   RedirectPermanent /misc/bsd.license https://opensource.org/licenses/BSD-3-Clause
+   RedirectPermanent /misc/laptops https://wiki.debian.org/InstallingDebianOn
+   RedirectPermanent /misc/memberships /intro/organization#memberships
+   RedirectPermanent /misc/merchandise /events/merchandise
    RedirectPermanent /intl /international
    RedirectPermanent /ports/armel  /ports/arm
    RedirectPermanent /ports/armhf  /ports/arm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.