Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README - How to get authenticated user in your apps? #74

Open
redsdav opened this issue Aug 7, 2024 · 0 comments
Open

README - How to get authenticated user in your apps? #74

redsdav opened this issue Aug 7, 2024 · 0 comments

Comments

@redsdav
Copy link

redsdav commented Aug 7, 2024

In the section "How to get authenticated user in your apps?", the following instructions, mentioned in the readme file, does not work for Apache 2.4:

RewriteEngine On
RewriteCond %{LA-U:REMOTE_USER} (.+)
RewriteRule . - [E=RU:%1]
RequestHeader set X-Remote-User "%{RU}e" env=RU

Instead, the correct instruction, that works for me is:

RequestHeader set X-Remote-User expr=%{REMOTE_USER}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant