From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Simon Streit <simon@netpanic.org>
Cc: help-guix@gnu.org
Subject: Re: Set up cgit with git-http-backend properly
Date: Wed, 06 Jul 2022 18:27:02 +0200 [thread overview]
Message-ID: <877d4qdx61.fsf@pelzflorian.de> (raw)
In-Reply-To: <ygu1qv1maqi.fsf@netpanic.org> (Simon Streit's message of "Mon, 04 Jul 2022 12:29:57 +0200")
Hello Simon.
Simon Streit <simon@netpanic.org> writes:
> After
> modifying
>
> (string-append "~ /" (string-trim-both uri-path #\/) "(/.*)")
>
> to
>
> (string-append "~ " (string-trim-both uri-path #\/) "(/.*)")
>
> serving and cloning from https://git.example.com/repo(.git) works now.
> But it doesn't when cgit is enabled and serving repositories in the same
> path at the same time.
Glad you have a working setup. Though this sounds like even cgit cannot
be served from / even if the Guix service definition were fixed. But
<https://wiki.archlinux.org/title/Cgit#Nginx> looks like a configuration
that seems to use /, though instead of "~ /" they special-case the paths
under /.
Regards,
Florian
prev parent reply other threads:[~2022-07-06 16:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-30 10:40 Set up cgit with git-http-backend properly Simon Streit
2022-07-02 9:35 ` pelzflorian (Florian Pelz)
2022-07-04 10:29 ` Simon Streit
2022-07-04 10:38 ` Simon Streit
2022-07-06 16:27 ` pelzflorian (Florian Pelz) [this message]
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://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877d4qdx61.fsf@pelzflorian.de \
--to=pelzflorian@pelzflorian.de \
--cc=help-guix@gnu.org \
--cc=simon@netpanic.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.
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).