What I want to do seems like it should be fairly simple. I would like to have one external address, and redirect to multiple different internal servers based on the login that the user uses.
That is, given users u1, u2, u3 and u4, I want them all to login to
www.domain.com, and have users u1 and u2 internally redirected to
internal1.domain.com and u3 and u4 redirected to
The logged in user should also be passed through so that the internal site knows which user is logged in. The internal sites will not be externally addressable.
What other options exist, or how can I make the aforementioned options do what I want?