Hi,
I got a quite intressting problem to solve:
Is there a way to rewrite the HTTP-header depending on the choosen service/real?
This means:
A client requests www.foo.com. The CSS decides that server1 is the one to serve the request. The problem is, that server1 only accepts http request that have the form server1.foo.com. In any other case it would send out a HTTP-redirect(302) to request server1.foo.com.
In other words the HTTP header should look like www.foo.com infront of the CSS and behind it should look like server1.foo.com.
In addition any given HTTP-information like a JSESSIONID or something like that should be parsed transparently on the way back to the client.
I haven't found a solution so far and I think it's right now impossible to implement but maybe some of you have a solution and could give me a hint on how to solve this (a real reverse proxy could probably do the job but than I'd have to add more hardware)
TIA
Kind Regards,
Joerg