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?

thanks and kind regards

Torsten

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to