Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-26 Thread Torsten Krah
Am Dienstag, den 26.09.2017, 09:42 +0200 schrieb Torsten Krah: > Hm ... so at least the docs should be changed? FYI: Made a pull request https://github.com/apache/httpd/pull/38 Torsten smime.p7s Description: S/MIME cryptographic signature

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-26 Thread Torsten Krah
Am Dienstag, den 26.09.2017, 09:28 +0200 schrieb Torsten Krah: > I thought and wanted to use what the docs are suggesting to use the > LuaHookAuthChecker to customize user authentication. > Implementation seems todo something else. To answer myself, changing: LuaHookAuthChecker

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-26 Thread Torsten Krah
Am Montag, den 25.09.2017, 10:29 -0400 schrieb Eric Covener: > Sorry, a bit swamped today, but AFAICT that is not what an > auth_checker is underlying httpd API, so I tentatively think that lua > dev doc is incorrect. > > Please have a look at include/http_request.h and server/request.c > where

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-25 Thread Eric Covener
Sorry, a bit swamped today, but AFAICT that is not what an auth_checker is underlying httpd API, so I tentatively think that lua dev doc is incorrect. Please have a look at include/http_request.h and server/request.c where the hooks are called. On Mon, Sep 25, 2017 at 9:47 AM, Torsten Krah

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-25 Thread Torsten Krah
Am Montag, den 25.09.2017, 09:30 -0400 schrieb Eric Covener: > 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. Reading:

Re: [users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-25 Thread Eric Covener
On Mon, Sep 25, 2017 at 7:23 AM, Torsten Krah wrote: > Hi, > > i am using httpd 2.4.10 (trusty-backports) one and configured my default > virtual host like this: > > > # translation works > #LuaHookTranslateName /etc/apache2/auth.lua silly_mapper >

[users@httpd] httpd 2.4 - mod_lua question: LuaHookAuthChecker hook is not called

2017-09-25 Thread Torsten Krah
Hi, i am using httpd 2.4.10 (trusty-backports) one and configured my default virtual host like this: # translation works #LuaHookTranslateName /etc/apache2/auth.lua silly_mapper LuaHookAuthChecker /etc/apache2/auth.lua authcheck_hook AllowOverride All