any success running outside of docker with Apache? #82
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If I'm reading this right, there seems to be an unnecessary attempt at indirection in setting the headers. |
Beta Was this translation helpful? Give feedback.
-
oh my goodness - thank you! Also, I managed to sort out the is_admin issue, using a rewritecond instead of SetEnvIf (which I could not get no matter what I tried!) Here now is my working (at this point) apache config for anyone else who might need it. (there may still be some redundancy or missing bits. I'll update if I find anything else...)
|
Beta Was this translation helpful? Give feedback.
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.