On Mon, Sep 25, 2017 at 7:23 AM, Torsten Krah <krah...@gmail.com> 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
cove...@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to