Skip to content
Discussion options

You must be logged in to vote

If I'm reading this right, there seems to be an unnecessary attempt at indirection in setting the headers.
In <Location "/api">, you could/should probably just use REMOTE_USER and not trying to route it through HTTP_X_AUTHN_USER (which is a header, not an internal variable). Actually, I'm not sure if /api inherits the basic auth and the headers from / in Apache -- if that's the case, you could just remove the set commands from /api location.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by elonen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants