You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ML <ml...@x76.eu> on 2020/02/23 15:12:09 UTC

[users@httpd] httpd external authentication

Hi,
is there an somewhat easy method to have httpd handle the
session/authorization but let some external script deal with the
authentication?

When an incoming request require authentication, httpd should check the
session for an authenticated user and if there is none, grab a script
and send the request to it with "hey dude, this request require a user.
do your auth-thing and then return the username to me and I handle the
rest".

The external script or application should just receive the request,
process it and if authentication passes, tell apache it's okay and tell
it who's knocking.


Thank you.






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


Re: [users@httpd] httpd external authentication

Posted by Antony Stone <An...@apache.open.source.it>.
On Sunday 23 February 2020 at 16:12:09, ML wrote:

> Hi,
> is there an somewhat easy method to have httpd handle the
> session/authorization but let some external script deal with the
> authentication?

How about https://httpd.apache.org/docs/2.4/mod/mod_authnz_ldap.html

https://httpd.apache.org/docs/2.4/mod/mod_auth_basic.html may also point you 
in useful directions.


Antony.

-- 
"Life is just a lot better if you feel you're having 10 [small] wins a day 
rather than a [big] win every 10 years or so."

 - Chris Hadfield, former skiing (and ski racing) instructor

                                                   Please reply to the list;
                                                         please *don't* CC me.

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