Re: httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 25, 2017 at 7:23 AM, Torsten Krah <krah.tm@xxxxxxxxx> wrote:
> Hi,
>
> i am using httpd 2.4.10 (trusty-backports) one and configured my default
> virtual host like this:
>
> <Location />
>         # translation works
>         #LuaHookTranslateName /etc/apache2/auth.lua silly_mapper
>         LuaHookAuthChecker /etc/apache2/auth.lua authcheck_hook
>         AllowOverride All
>         #Require foo valid-user
> </Location>
>
> The silly_mapper gets called.
>
> But no matter what i try, i can't get the LuaHookAuthChecker working.
> Loglevel is debug - but my script is not called (from observing and
> according to the debug logs) - it's a 1:1 copy of the example from:
>
> https://httpd.apache.org/docs/2.4/mod/mod_lua.html#luahookauthchecker
>
> Looking at:
>
> https://httpd.apache.org/docs/2.4/mod/mod_lua.html#writinghooks
>
> it should be called in the "Check Authorization" phase.
>
> Anyone an idea what's wrong or what i need to do or can try, to get this
> working?
>


auth_checker is authorization that depends on authentication. You have
no authentication configured.

The access_checker related ones are user-agnositc and run
before/without authentication.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux