From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id XzgZCB/HPGAZBAAA0tVLHw (envelope-from ) for ; Mon, 01 Mar 2021 10:51:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ABlSAx/HPGDgIAAAbx9fmQ (envelope-from ) for ; Mon, 01 Mar 2021 10:51:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6EF4D1FA49 for ; Mon, 1 Mar 2021 11:51:10 +0100 (CET) Received: from localhost ([::1]:44330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGg8r-0008Fb-Ju for larch@yhetil.org; Mon, 01 Mar 2021 05:51:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGg7m-00078P-8O for bug-guix@gnu.org; Mon, 01 Mar 2021 05:50:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGg7l-0002h6-VD for bug-guix@gnu.org; Mon, 01 Mar 2021 05:50:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lGg7l-0007tU-SM for bug-guix@gnu.org; Mon, 01 Mar 2021 05:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46807: [website] return 404 with HTTP header 'Accept-Language: zh-CN, zh' Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 01 Mar 2021 10:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46807 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 46807-submit@debbugs.gnu.org id=B46807.161459578330314 (code B ref 46807); Mon, 01 Mar 2021 10:50:01 +0000 Received: (at 46807) by debbugs.gnu.org; 1 Mar 2021 10:49:43 +0000 Received: from localhost ([127.0.0.1]:48237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGg7T-0007sr-KF for submit@debbugs.gnu.org; Mon, 01 Mar 2021 05:49:43 -0500 Received: from pelzflorian.de ([5.45.111.108]:59178 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGg7R-0007sj-Bf for 46807@debbugs.gnu.org; Mon, 01 Mar 2021 05:49:42 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id D85BC3605E2; Mon, 1 Mar 2021 11:49:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1614595780; bh=Zj9RY4lyk/1y/WxBab0dVUV1PW+MUx5Hw6TbmmT13+c=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=mcYKQ7tloiEbIExvBTxUaubICN2LZuN+mlA+090jlj4Oa8kzU7yM8XW6Eo+FBSd+9 DseRmM9MJxDY32H2Ch31+MIjqn54mtgmomTCw6VIPN7Ru1QfBOzsaXd6PrltD2KQmZ M0Vbv3Q3QcfHcj6FKh/NEDgH9JkxOkXE40Heei4s= Date: Mon, 1 Mar 2021 11:49:30 +0100 From: "pelzflorian (Florian Pelz)" Message-ID: <20210301104747.wlibfapjjn3x3kut@pelzflorian.localdomain> References: <87im6btcfw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87im6btcfw.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ylc991 , 46807@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614595870; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=53bljImc/lnLL39rQQVAQj+cJjzqygtPGd/l7uj8w80=; b=CnF8df08KgSTr5oiOpuMChtcglR3qOEAbeUgBuj5vYhsEpXZS7ljI/NROhPkxL0ywDjG4b jycIOVkf3kEoznv4QD0keHb+Ttm87FFYzaAj4vCYPNB1+aURvZCtmv7pFeXVELgxowWdkb OToy1KRUHr+ii0rHJa1d98zmwEfDUxZmDNT/wgG+dYK8P//gVftwuOIVtgmKww0lga/K4+ PwyRcvbsS7IClKPy8Zhmy5KPNMKc8PU8VjU+0m0Mr8RFCyuAk8p9FnNbf2LiBdvRcrUw2O y2y4Xn3UI5YlG2PTud2r/T++8BULT5l5vflE/N+pNkdaLRJaXp5CUKmth67YGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614595870; a=rsa-sha256; cv=none; b=IYSQ7W1cgYrBTWriXFP9DjqBOvICVfwu9I4/ipghl6RXcXKA6ePx8mor92btJslY+W39XW cPbdf9+cvSQb1R+zSYr3+bBDvuO/35faDSEBFAl3Je5t6j4LFaq7vVEB4DEXLgGlSkxQdY obOTMg2n7/2upW+XlI70D1cVhufK1FfUHXXRZSIMDwWzXrIP6+RRAhuLEHTr1JbY5+mqN/ LHjGlnOPgbLAvGZV8BdFi5dheFKX+P16TMjPCUxFP4chluxom6dqN8AsjlPH0Cae/soKjY uG5ZPw7mpZKgmy/Tx8O3XT5hyQIspnFG7ijtB8B7PbGVp/iTBNyWZNqXDXkteA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=mcYKQ7tl; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=mcYKQ7tl; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 6EF4D1FA49 X-Spam-Score: -1.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: YkOtyy+DB9YD Hello, On Mon, Mar 01, 2021 at 11:06:59AM +0100, Ludovic Courtès wrote: > Florian, could it be that we’re not normalizing language tags > appropriately? Does that ring a bell? Tobias’ analysis likely is correct. I haven’t yet build a current berlin virtual machine to test though. We’re not normalizing language tags at all currently. Doing URL redirects in nginx confuses me greatly; I have no idea how to concisely specify redirects *and* have them execute in the right order. The many lines (redirect "/blog/2006/purely-functional-software-deployment-model" "/$lang/blog/2006/purely-functional-software-deployment-model/") and similar in maintenance.git’s hydra/nginx/berlin.scm file are a bad solution and are testament to my confusion. I would not like one line for each package. Regards, Florian