|
From: | Max Nikulin |
Subject: | Re: Some links in online manual do not work |
Date: | Tue, 11 Oct 2022 13:57:14 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 11/10/2022 12:37, Bastien wrote:
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.htmlI 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
Bastien, unfortunately you have not fix the problem. Slash before HTML-export\.html is necessary. The page
https://orgmode.org/manual/HTML-Export.html has a valid link to https://orgmode.org/manual/Links-in-HTML-export.html that is still inaccessible due to the active the rewrite rule rewrite LaTeX-export\.html LaTeX-Export.html permanent; curl -I https://orgmode.org/manual/Links-in-HTML-export.html HTTP/1.1 301 Moved Permanently Server: nginx/1.14.2 Date: Tue, 11 Oct 2022 06:55:28 GMT Content-Type: text/html Content-Length: 185 Connection: keep-alive Location: HTML-Export.html There should not be such issue for rewrite /LaTeX-export\.html LaTeX-Export.html permanent;
[Prev in Thread] | Current Thread | [Next in Thread] |