logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: REMOTE_USER reverse proxy, and authentication
Author
jgauthier



Joined: 17 Dec 2013
Posts: 2
Location: Miamisburg

PostPosted: Tue 17 Dec '13 18:21    Post subject: REMOTE_USER reverse proxy, and authentication Reply with quote

Everyone,

I've been reading, testing, reading, testing for some time. I feel like I just cannot get a definitive answer and I'm hoping this thread will be it!

I have several applications that use authentication and expect REMOTE_USER to be set by Apache for authentication/authorization.

I am putting a reverse proxy, with shibboleth in front of these applications, on a separate server.

Currently, REMOTE_USER is not sent. I have tried a few things, and I am currently sending it inside another header, but I have some applications that are closed sources and this will not work.

Is this possible to do? I am running this with Apache 2.4.7, I believe, on the Windows platform.

Thank you!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 18 Dec '13 19:03    Post subject: Reply with quote

is it right that the shibboleth server is in front of the apache server with the app that shall use REMOTE_USER? if yes then you have to make sure that the shibboleth server forwards the REMOTE_USER
Back to top
jgauthier



Joined: 17 Dec 2013
Posts: 2
Location: Miamisburg

PostPosted: Wed 18 Dec '13 19:16    Post subject: Reply with quote

Yes, the authentication server (shibboleth in this case) is in front of the Apache server that uses REMOTE_USER.

So, how can I forward it? I have tried a dozen scenarios and I cannot get it to work. I've had people tell me that you absolutely cannot pass REMOTE_USER and that is internal only, but I see tons of references of people doing it.

Thanks!
Back to top


Reply to topic   Topic: REMOTE_USER reverse proxy, and authentication View previous topic :: View next topic
Post new topic   Forum Index -> Apache