E
E
Eugene Wolf2017-05-29 23:34:12
Apache HTTP Server
Eugene Wolf, 2017-05-29 23:34:12

How to make authorization in Apache2 through a subrequest?

Good day colleagues!
Can you please tell me how to set up authorization using a sub-request in Apache 2.4+? Nginx has a similar authorization method ( details )
Quote from the Nginx documentation:

The ngx_http_auth_request_module (1.5.4+) provides the ability to authorize a client based on the result of a subrequest. If the subrequest returns a 2xx response code, access is allowed. If 401 or 403 - access is denied with the appropriate error code. Any other response code returned by the subrequest is considered an error.

I want to achieve similar behavior from Apache, but I could not find an actual / working module (I found some module that had not been updated for 2-5 years, and was not released and in its examples something little resembling my task) ... Maybe this issue is solved somehow differently?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question