From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EMeqOpQCRWOdAQEAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 07:43:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wGOdOZQCRWOgLgEAauVa8A (envelope-from ) for ; Tue, 11 Oct 2022 07:43:48 +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 7573C2A2CF for ; Tue, 11 Oct 2022 07:43:48 +0200 (CEST) Received: from localhost ([::1]:51424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oi83P-0007gs-5s for larch@yhetil.org; Tue, 11 Oct 2022 01:43:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi7xO-0007fl-A8 for emacs-orgmode@gnu.org; Tue, 11 Oct 2022 01:37:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi7xO-0000bb-15; Tue, 11 Oct 2022 01:37:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=FimtVepDgIETz7CY5d9sMkewPgbbcmLw7m4PNgb3cm0=; b=AEnes+Wt2M2UdcIGvupy VdpbtoWY7poYtKmJr6N6uAbN0/N+J2ch9MrY+BrqLxPwpSE6xLNH18UdmxFhYLhsl6FZ9CFRTbpiR cH8NT4eeziN0rQgia1mVOGrB6zG995VrHPdedv5QrxGe3W4Ie8XN3HtN0H78F7ua49fkoZAqd8Eeo M9xRS+QMIt83IvcEr7e9rp9u4xz0v5lajhIlWHIpvZonCw/heqMqvyTpR9iEcq+b/tTNLnKrNyY5T 182SVkv80A4Y8YGx7bm7S+HuutGJI/9UQxNn1yKHVkbxcwUPK1Jyc1IvTDHaz3vN/QVIYmPieGyLb Vy2TrcgJj76iOQ==; Received: from 96.52.140.77.rev.sfr.net ([77.140.52.96]:43572 helo=hal) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi7xN-0006Be-MP; Tue, 11 Oct 2022 01:37:33 -0400 Received: by hal (Postfix, from userid 1000) id 296881E0413; Tue, 11 Oct 2022 07:37:31 +0200 (CEST) From: Bastien To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Some links in online manual do not work In-Reply-To: <6559964f-1d94-913a-04b4-a911fa30ae38@gmail.com> (Max Nikulin's message of "Sat, 8 Oct 2022 19:37:43 +0700") Organization: GNU References: <87r0zqknbd.fsf@vagabond.tim-landscheidt.de> <86fsg6szf6.fsf@gmail.com> <87mtaakvpt.fsf@vagabond.tim-landscheidt.de> <87mta960wp.fsf@localhost> <877d1bzm15.fsf@gnu.org> <87mta7fm5l.fsf@vagabond.tim-landscheidt.de> <6559964f-1d94-913a-04b4-a911fa30ae38@gmail.com> Date: Tue, 11 Oct 2022 07:37:31 +0200 Message-ID: <875ygqc44k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665467028; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FimtVepDgIETz7CY5d9sMkewPgbbcmLw7m4PNgb3cm0=; b=nzUEHV70KeiAu5HK9/DcXESuZbA4qz2kxDiAwYWoGbXuyIPSE1hE/l1mqZKJOVsnaEajv1 THCQyMbzL4K5iOF1Gp3Tcq3pbhCWFYwQ2N3A9oFbjHDK5JI99MXVi2lO35r+E4oN+KwWVq WEsoXtYd8qqlBtteFjAH6auK/7EV+AjjSsNK4AMSkZ7COf8J3qgR2Vrw/fXDuKqXNPfpYZ zQFCN6rBpUgNY+RIJ2t83gOHfONVvtz2UvsEaLkuc0Jk2PDOHLrZVXBLuSq4woLnN/4m58 3gGhHbVUprrXupesXGmbQJMNy6/SRI6TUyYBuypma8qKktc0fHrO96i1t9ixQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665467028; a=rsa-sha256; cv=none; b=KGHluUbazvtSiYh3FcqD3k5mjYi0cLyvGJaE6qX4wKJ+Ni+WkTAnQF1c95/R/GjkjDktep nmwkazhXJ1NGRfqFkFDxp0a2k+9SVTz44Toyl48jIqDs9NK4DTjd0JP9AFVgaGO0JAhxOw FFJ1Xlk4sgATIarYtgVJhmZ43fWwF+E+TIkA0zYecnkmLh7Kbxz7CgNpMECtIuMQO6EInU QJSiOpiXxu57h2mNzilffFibRMvjyAOpcXuPQ0zdo9Oc7QUW/1JCAmzjyHQp1WRl0nTjfQ RMeddDG1H9XILSJVLSoJecMkdrDbzF/X4ABn6ET0g3MQvwV6lZqIBBrSVm0BmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=AEnes+Wt; dmarc=pass (policy=none) header.from=gnu.org; 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: -8.89 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=AEnes+Wt; dmarc=pass (policy=none) header.from=gnu.org; 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: 7573C2A2CF X-Spam-Score: -8.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: gKFZVw+iM9wD Hi Max, Max Nikulin writes: > Bastien, I have not tried full configuration, but after a quick check > I believe that it is a reasonable suggestion. It prevents 301 > redirection from valid URLs like > https://orgmode.org/manual/Links-in-HTML-export.html > to > https://orgmode.org/manual/HTML-Export.html Indeed, thanks for the heads up. > In addition I would consider > > location /manual/ { > } > > around the rewrite directives to prevent unintentional false positives > in e.g. worg. Yes -- there is also location /guide/. Not that if we use "/manual/" with the ending slash in the location directive, I don't think the "/" is needed at the beginning of, say, "HTML-Export.html" to disambiguate. I completely reviewed the nginx configuration again and updated it on Worg: https://git.sr.ht/~bzg/worg/commit/601ebf48 Thanks, -- Bastien