Hello,
I have no clue what this is called, but I'm trying to find out how
this would be done.
I want to set it up so that I have a server that all requests AND
responses from my web server go through. For instance, a user would
go to
www.mysomedomain.com/request/mypage.php. That request would go
through a server (let's call it SERVER X). SERVER X might or might
not do some stuff with the request (i.e. logging certain stats about
the request). Then SERVER X would forward the request onto the web
server (SERVER Y) where the actuall application resides and would
build the response. SERVER Y would send the response back, but
instead of going directly to the client, it would go through SERVER
X. SERVER X would perform some processing on the response as well as
some logging for statistical purposes. SERVER X would then forward on
that response that it generates (a modified response from SERVER Y)
onto the client browser.
HTTP REQUEST
user (browser) -> SERVER Y -> SERVER X
HTTP RESPONSE
SERVER X -> SERVER Y -> user (browser)
How would I go about doing this? Primarily SERVER Y would be for any
customer of ours, so it isn't a preset server. This would be a
service that we'd hope would be one solved by DNS/BIND configuration
as well as maybe some Apache foo. Hopefully in the end the customer
would have to only make a couple of changes technically on their end
to redirect traffic through SERVER Y.
Is this sort of like a transparent proxy server?
Thanks!