On 07/06/2025 20:04, Bastien Guerry wrote:
Max Nikulin writes:
Bastien, may you, please, force worg rebuild?
Done.
remote: Error submitting build job: input: submit A paid account is
required to use this feature.
Yes, Ihor and I are trying to help with this known issue here:
https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3c87frwldwqw....@bzg.fr%3E#%3c87frwldwqw....@bzg.fr%3E
Does it mean that latest commit should be authored by a payed user and
it is a reason why my commit was ignored when you started rebuild?
My impression is that expectation of Drew DeVault was that Ihor should
send the patch some other (devel) mailing list instead of "discuss".
What do you think about one more redirection rule (attached)? E.g.
https://en.wikipedia.org/wiki/File:Org-mode-unicorn.svg links
org-faq.php#unicorn (notice .php). I am in doubts there are a lot of
links like this one and whether we really need to handle them.From ae280aeb10e110c4812f0de314cb878f0be0caaf Mon Sep 17 00:00:00 2001
From: Max Nikulin <maniku...@gmail.com>
Date: Mon, 9 Jun 2025 19:06:14 +0700
Subject: [PATCH] nginx.conf: Redirect .php to .html on worg
* nginx.conf: Add worg rewrite rule for old .php links,
see e.g. https://en.wikipedia.org/wiki/File:Org-mode-unicorn.svg
---
nginx.conf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nginx.conf b/nginx.conf
index 2a356625..b5631bdc 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -16,6 +16,8 @@ server {
# posts or discussion groups.
location /worg/ {
rewrite ^(/worg)(/org-contrib/org-annotation-helper\.)(html|org) $1/archive$2$3 permanent;
+ # Old links from other sites
+ rewrite ^(/worg/.*)\.php$ $1.html permanent;
}
error_page 404 /errors/404.html;
--
2.39.5