user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: meta@public-inbox.org
Subject: generic message-id redirector
Date: Mon, 1 Feb 2021 11:41:15 +0100	[thread overview]
Message-ID: <20210201104115.mconuob33y3exr2u@pengutronix.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

Hello,

I'm currently trying to get up a public-inbox instance and I fail to
setup a generic message-id redirector as lore.kernel.org implements it.
That is a request to https://lore.kernel.org/r/message@id is redirected
to https://lore.kernel.org/somelist/message@id for a list "somelist"
that has a message with the given Message-Id.

I fail to find this feature in the code and wonder if it is a feature
that was added only to the public-inbox clone used to operate
lore.kernel.org.

Currently I have:

$ curl http://localhost:8080/r/20210201083307.GI19583@pengutronix.de/; echo
Not Found

which I would expect to be redirected to:
$  curl -s http://localhost:8080/barebox/20210201083307.GI19583@pengutronix.de/  | wc -l
148

Is there some additional code or configuration necessary to make this
work? Am I missing something?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2021-02-01 10:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 10:41 Uwe Kleine-König [this message]
2021-02-01 11:10 ` generic message-id redirector Eric Wong
2021-02-01 13:26   ` Uwe Kleine-König
2021-02-01 17:17     ` Eric Wong
2021-02-01 19:22     ` Konstantin Ryabitsev
2021-02-02  8:08       ` Uwe Kleine-König
2021-02-02 13:06         ` Konstantin Ryabitsev
2021-02-02 14:02           ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210201104115.mconuob33y3exr2u@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).