From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OMImIGiqw2KKQwEAbAwnHQ (envelope-from ) for ; Tue, 05 Jul 2022 05:05:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wKjvH2iqw2JUDwAAauVa8A (envelope-from ) for ; Tue, 05 Jul 2022 05:05:12 +0200 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 366BB3D51E for ; Tue, 5 Jul 2022 05:05:12 +0200 (CEST) Received: from localhost ([::1]:53022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8YsB-0001xF-B3 for larch@yhetil.org; Mon, 04 Jul 2022 23:05:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8YoW-000060-E5 for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 23:01:24 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:38877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8YoS-0000mv-Vp for emacs-orgmode@gnu.org; Mon, 04 Jul 2022 23:01:24 -0400 Received: by mail-pl1-x62a.google.com with SMTP id m14so9900541plg.5 for ; Mon, 04 Jul 2022 20:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=L88z77leK9Od1b0/j9EbTlIkRdW7N+eqF+fSKyMJlYE=; b=Yo99ovnpJ/8c3d2FV7cEAUlovFMFGFSrZicCFIi8eepylLaAaiF2N26JG8VMrpz7+h 9OUJWhbwcgqhzKDEYDF3N87Q9jQRYJkgjnPxpy+Ec3M8bftjY2/7pD27B913Ohxt+2WD RwvA1ThUxfSEh/avP2Bma2Mg2nDX1gObbjS8W4dJkcIj67+7Sdcx/gmrthiGSlmQzylQ M7pKyPPcX8hvxC2aDWgm02WL/D1jIyyCbxLP4xtXSX5QH2sqz5ct/kAH71Uf23+rQkPC /rqIFtt2y/VW7fZQdWdXQ9Ek+6sUtCeDCsLSXCY3j8RDXdo28WtTMN2nSR/QcvsIBYZq Wwlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=L88z77leK9Od1b0/j9EbTlIkRdW7N+eqF+fSKyMJlYE=; b=N6me3re64n7O4Rtf39/cu9ctjOx49EU2PgVMxSnWlwQYO01qdc4zyU4/oeRlkA2V3q Ro9RTcL845HvsZp6md67b68eYCxvEAJOhn1ND0S6R+S5CT7c3mQcEaWwELZ75liS1e31 rZ6CfxKlvpoSAHqs3L/JB3mYLnQmBYXhDym904oOMVn+ndAXBgcHMtA/PKGyqWmS/vJG aeMK2xwNuAYiZPrlvHJIyQcfp9kp4en5e2x96k/HJ/mzpuaWc2me9zjy2Kac1po9JutG uF2hzJAQmgFRpdbMNHFh40FQAarjtBtsyfETvs7VJKFDJ05v1bsZYKdpexv8eWtBMrQv UM6g== X-Gm-Message-State: AJIora9nzMh2ULlo5jxR3VbztKBVIuljFXIb1wpYXXh1X54i3Q+QIvp/ gXJ4yNnXDaqUrtXuVS3nTseTmFIUTpUskw== X-Google-Smtp-Source: AGRyM1tJiGCszAbZstciiEXHC/7GBT3sKgDvF1PCu8t2WLJaIV16hoCSP2nN/3Uvt/5LKwR2oF/14Q== X-Received: by 2002:a17:90a:598f:b0:1ef:32d9:1fa2 with SMTP id l15-20020a17090a598f00b001ef32d91fa2mr33759533pji.182.1656990078773; Mon, 04 Jul 2022 20:01:18 -0700 (PDT) Received: from dingbat (2001-44b8-31f2-bb00-49bb-e5f8-f7d2-203d.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:49bb:e5f8:f7d2:203d]) by smtp.gmail.com with ESMTPSA id c20-20020a17090aa61400b001ec84049064sm13580445pjq.41.2022.07.04.20.01.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 20:01:18 -0700 (PDT) References: <878rpah0tx.fsf@localhost> <87wncu8iuw.fsf@gmail.com> <87wncufg6l.fsf@localhost> <87o7y598cz.fsf@gmail.com> <875ykdnkmk.fsf@localhost> <87bku59hpp.fsf@gmail.com> <87r131m3vq.fsf@localhost> <87y1x88poj.fsf@gmail.com> User-agent: mu4e 1.8.3; emacs 29.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: [BUG] The documentation webserver gives 404s [9.5.4 (release_9.5.4-3-g6dc785 @ )] Date: Tue, 05 Jul 2022 12:54:52 +1000 In-reply-to: Message-ID: <87tu7w8dqc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656990312; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=L88z77leK9Od1b0/j9EbTlIkRdW7N+eqF+fSKyMJlYE=; b=fvNJmgNyDFFcptQB3JYfEuUYHaFOsIiKGcNBW7YqIJHMgz4zjXEIpBZWbYohIKfe4w6gaT zw8ZUc80deJ71xzMnlTfi0NhFea7sp6jo2Z3hM9juNg8wRQMql5mMCkVk1aqIwM8GIFd40 2p03HI1Mb96urBgz9TWVUKIS4GPwWYVxGDylUO2m/8MugGjJxDggez384jEPeL6RScC+Rz 4ue2q03t128E3mfoJUHw0sRlrOWs28Dvddglu2SVUepsbAg0MK12fWVq7CjWMiPtMNUh1c z9/j9qVYlmo2XJkVMnIVrMmYDDyt+KkKHMMLW5GL2K2dfMQ+bst6gupHwjMQpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656990312; a=rsa-sha256; cv=none; b=HgudJS5nXRjzjFm22oc75Qvdh9hfZbnv69I/d0ZemP8NwFuDQTuuKTtKlW+jfk2KXTkoiv E2HRr/dYyO+nYC+XRCeGmhVeZ9ISeBjeXNkTx112hcjudOLA8i0ASv7F+LXVFHCKZb0Erd H+oZQ3RAHtvDOu87RSe/v9jEcu9EBiwK5tFkhvUqySCeDnghfhS4pDAl/g6ozXSvRRsaSV ZMfAwhOHfW/86CYoi7ZSY9vuf2j1/oWZrAXHENYT2w1oBUAYZXDiJTffNSXQ93PzPolX// dhq78I+34FL4WPtITiW11xYdP88Oaa4UF/xvueswh9w91DVvg7a86fxbDLl7tQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Yo99ovnp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Yo99ovnp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 366BB3D51E X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: LOwy1Imp+IQQ Max Nikulin writes: > On 05/07/2022 05:37, Tim Cross wrote: >> Max Nikulin writes: >>> >>> However it seems, Bastien earlier configured a set of rewrite rules mapping old file names >>> with more lower case letters to new ones. In my opinion it is the best option and it >>> should be restored. List of files may be committed to git (either Org or site) to detect >>> changes later and to add new mappings when some file disappears. >> Are you sure about that. There is nothing along these lines in the nginx >> config file that I can see. Also, my reading following that thread you >> provided earlier was that Bastien thought the overhead to manage such >> lists was too high? > > Bastien. Re: Possible bug report: URL capitalization in online manual. Mon, 10 Feb 2020 > 07:48:21 +0100 https://list.orgmode.org/874kvzdjka.fsf@gnu.org/ >> I've now installed the rewrite rules on the server and all these links >> are redirecting correctly. Given the amount of Org documentation links >> living out there, that's really a good idea. > > I did not check it that time, so I can not be really sure. The rules might be lost during > migration to deployment using SourceHut. My expectation is "301 Moved Permanently" > redirection for obsolete file names. > > I do not think, a hundred of redirection rules gives significant overhead. I attributed > Bastien's "too much" to maintaining documentation for several versions of Org. A part of > original problem (if I get it correctly) was mix of old files survived from earlier > versions of the manual and current ones. Certainly removing of outdated files was a proper > step. > > Tim Cross: >> At this point, my vote is to just do a basic updated 404 page that >> points to the index.html page for orgmode.org > > For the manual and for the guide directories I still consider links to the table of > contents (or even full table of contents) on 404 pages as a better variant. I don't really care what specific page is linked to - just that we keep it simple and have a link for an initial quick fix. Only reason I mentioned the index.html page is that it has links to everything - worg, git, manual, mail list etc. It is possible that people get to 404 via links other than to the manual. If you or someone else wants to do something more sophisticated, I'd say go for it. In the meantime, I will see if I can put together a default 404 page. However, I think only Bastien has the necessary access to install it.