cgit simple-authentication.lua problem
John Keeping
john at keeping.me.uk
Thu Jun 15 18:57:48 UTC 2023
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.
More information about the CGit
mailing list