-
Notifications
You must be signed in to change notification settings - Fork 148
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
PHP $_SERVER['REMOTE_USER'] not set #94
Comments
Thanks for mentioning this issue. I'm adding this feature to loginsrv. I'll submit a PR in 1-2h. |
PR #96 should be reviewed and merged soon. In the meantime, if you can compile yourself, add this PR to your build of Caddy. |
Awesome! Thanks for looking at this so quick. I’ve not compiled, but I’ll look into that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been able to get Caddy with http.login and http.jwt working with htpasswd. I'm presented with a login page and after I authenticate I can see the resources.
I'm using fastcgi with php-fpm to server php files. The app I'm running relies on $_SERVER['REMOTE_USER'] to get the logged in user, but this variable is not set after I login and try to print it from php.
Is there anything I can do to make sure this variable is populated with the name I authenticated with?
The text was updated successfully, but these errors were encountered: