From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 kA31JntvQWNnhQAAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 14:39:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MLEGJ3tvQWMXcQAA9RJhRA (envelope-from ) for ; Sat, 08 Oct 2022 14:39:23 +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 32B4C3972D for ; Sat, 8 Oct 2022 14:39:23 +0200 (CEST) Received: from localhost ([::1]:32826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oh96w-0004Tx-AI for larch@yhetil.org; Sat, 08 Oct 2022 08:39:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh95U-0004Tn-Gp for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 08:37:53 -0400 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:36829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oh95S-0005uM-Je; Sat, 08 Oct 2022 08:37:52 -0400 Received: by mail-lf1-x131.google.com with SMTP id bu25so10727906lfb.3; Sat, 08 Oct 2022 05:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=myEaOjQ9mq5B7rC9f5kpN/L6YVbVC0k0S0V+4va73R8=; b=NMAw9s3qEsYZ0lgJSykfeo2CdS+Sz2TEjjHCRHil0jNaa+R/+banRO4FqMFrhHh7QH McfmcXPf6O4mxxG5//W1TLUoPn4KYU7rUqq/0dY5H+E0YE+rP2VsAUGcEzl+TwzvxuA8 SKoXHAfIpzg+txlQfU1VHaffPZfz033ZdqnNMh0QmAOMP8BsmgpNBEosSJv3N2SUG5mf SeSN+nsRukTtiXW58kb01uO+AixBCVHBaVb9Gk0WLG6u+v+StlBLtKQA/vIgLoLzF9AV SGNINzEXY69lC/ogmGlXHtJrJgpqbNW1FuLxuJDaQLomaIx9JkHbONsAxcvArNzns540 T/kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=myEaOjQ9mq5B7rC9f5kpN/L6YVbVC0k0S0V+4va73R8=; b=p2igdZs8WqM3XMwa4y0i/5AwY+tBsZPgCQbhHm4JZumTybiu9p6XsKEDAnMTUYK0QD 7+DeLZYRrd9hf1ynrtaTWj1eufeRnoZVSnUDdxdOCuATtmg5IODc+dNYlixmh/Xidj7G ggawt9slB/wYKOsCWfbmXsi5y3J7JfbPx30/CZS+uP15vqKKw7XC7qrsdWJwSvrXt2rg Wo/3tJrbMBK93o9sOI7OJYXWq89n6aO+XGm1eX7tLV2vs9siDFRA676Bkbj+FjgZPiC0 q0WT3mKKkI1Jqpp60B2wosB4ksA4glCnpMGQsGaByG59+BuaUskK7joSfMJlbwH08WwV 1afw== X-Gm-Message-State: ACrzQf0Ppyo2xsXe2On2nIwhR+JPKE3QXC8CJKlr64R8F6MsDPRMQfH3 HLPmiNOQoZobgP2xwkVNqDXtLtw/lkc= X-Google-Smtp-Source: AMsMyM7Yt2C3RN+Whju3M49j0Y3/UpHiHdzIfJ88oaprWCqRM83jfirx/TsxXv62NE2LrPAhaV20tg== X-Received: by 2002:a19:6912:0:b0:4a2:a5fb:8dc4 with SMTP id e18-20020a196912000000b004a2a5fb8dc4mr2404062lfc.404.1665232666477; Sat, 08 Oct 2022 05:37:46 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id h17-20020a05651c125100b0026e90b478c6sm144009ljh.114.2022.10.08.05.37.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Oct 2022 05:37:45 -0700 (PDT) Message-ID: <6559964f-1d94-913a-04b4-a911fa30ae38@gmail.com> Date: Sat, 8 Oct 2022 19:37:43 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: Some links in online manual do not work Content-Language: en-US To: Bastien Guerry Cc: emacs-orgmode@gnu.org 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> From: Max Nikulin In-Reply-To: <87mta7fm5l.fsf@vagabond.tim-landscheidt.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=manikulin@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -56 X-Spam_score: -5.7 X-Spam_bar: ----- X-Spam_report: (-5.7 / 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, NICE_REPLY_A=-3.588, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665232763; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=myEaOjQ9mq5B7rC9f5kpN/L6YVbVC0k0S0V+4va73R8=; b=ZdDlvjgXyvgBT8JBxctZSlkPbHIUekeYIEvUZctzTCMntzfRg6HaRYVykf9gSqY+q4ITJ/ z3qYSItrl/RkOtg3+4LQmI7pLWYHokx8WCCqIori/P/wQ34hZUPk9ahlk6X4sRADfB3hZ9 OUlXgFmvYfcS28wWZkoS7N0Yhx63nyJb403tnUIKpFhztd9THlhefq+j6kCayJp78Md43J jfBkrkRFHxPKeD/VsLvDNYxk0foTMXYVIQte0TFyX+ydCrVhClFEUxI5aK8S24A3729ev/ V42Jncm2QFbojTV+1Ylb2pQooB9kdJG8BC2Vg6Nt6BnmU02FXN8eku8+5OxmMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665232763; a=rsa-sha256; cv=none; b=GBlmb8yegGKF8AhIc2Yf54Ph/pCr6JH4fG3xd+H91/mq8xuZI+CfQ44nS+eh5Ed03173BO wrzC/NhJt3x0TouSaEZ10WqcwTlCult/EOnrYAP3h5h3zGdvOCQPiGzo2e/G9CgBXxjP3H PJX0A3lxxmiHnTEWgslB3KCi5sz262CCx0G7+ZDmV1xyy6QwHEk3LXMuB80sGoNKDECUjt /KRGYKGBJzO+7MqantFVDfj1Tusz+oHo44HaH2EUq9kKOGyYwbRBvCOo6YQgpaARC0gMyh tPeihcOZFiGYdYLNOI0vuY7GzPHyHJfNbORsKn5uU8/s7dcKYiXhcVfwW4pjdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NMAw9s3q; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NMAw9s3q; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 32B4C3972D X-Spam-Score: 6.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: to5gOUQ+EEuv On 08/10/2022 02:50, Tim Landscheidt wrote: > Bastien Guerry wrote: > >> https://git.sr.ht/~bzg/worg/tree/master/item/nginx.conf > > Thanks. Assuming the relevant line is: > > | rewrite HTML-export.html HTML-Export.html permanent; > > looking at > http://nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite > suggests that this will match any URL that contains the > string "HTML-export.html", i. e. the regular expression is > not anchored anywhere. > > So if that regular expression is intended to match on URLs > that end in "/HTML-export.html", an (untested) fix would be > something along the lines of: > > | rewrite /HTML-export\.html$ HTML-Export.html permanent; 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 In addition I would consider location /manual/ { } around the rewrite directives to prevent unintentional false positives in e.g. worg. P.S. Workarounds: M-: (info "(org) Links in HTML Export") https://orgmode.org/org.html#HTML-Export