From: John Keeping <john@keeping.me.uk>
To: Yazar Strulik <yazar.strulik@googlemail.com>
Cc: cgit@lists.zx2c4.com
Subject: Re: cgit simple-authentication.lua problem
Date: Thu, 15 Jun 2023 19:57:48 +0100 [thread overview]
Message-ID: <ZItfLCZiCqPb7QYH@keeping.me.uk> (raw)
In-Reply-To: <e78e53ac-52d9-9b42-7030-76854693c15d@gmail.com>
On Thu, Jun 15, 2023 at 09:40:35AM +0200, Yazar Strulik wrote:
> I need some help with getting the simple-authentication.lua running.
>
> I'm using gitolite as my git base with cgit as my front-end and apache2 as
> the webserver.
> The main cgit configuration works but it cant interpret the .lua files when
> using the authentication-filters by adding following line to the cgitrc:
>
> auth-filter=/usr/lib/cgit/filters/simple-authentication.lua
The path needs a "lua:" prefix, like this:
auth-filter=lua:/usr/lib/cgit/filters/simple-authentication.lua
Without that the default "exec:" path is used which tries to execute the
script.
prev parent reply other threads:[~2023-06-15 18:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-15 7:40 Yazar Strulik
2023-06-15 18:57 ` John Keeping [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZItfLCZiCqPb7QYH@keeping.me.uk \
--to=john@keeping.me.uk \
--cc=cgit@lists.zx2c4.com \
--cc=yazar.strulik@googlemail.com \
/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 NNTP newsgroup(s).