Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question