Forum Discussion

Matt_Breedlove_'s avatar
Matt_Breedlove_
Icon for Nimbostratus rankNimbostratus
Dec 13, 2008

Transparent URL Proxy with Irule

Hi,

 

 

I have a web server sitting behind the BigIP where the application is coded to construct the return url's sent back to the client regardless of what the client uses to arrive there initially (very annoying and very limiting)

 

 

I have the VIP setup with acme.dev.hosting.com ...so clients access this externally facing URL (https://acme.dev.hosting.com)...SSL gets terminated on the VIP and the connection is forwarded to the internal server over HTTP.

 

The server then responds with this URL:

 

https://acme.hosting.com back to the client(which of course goes to the wrong place).

 

 

 

We need the internal server to think it is acme.hosting.com, but we still need clients to access it and think they are talking only to acme.dev.hosting.com

 

 

Can we setup an iRule that will receive https://acme.dev.hosting.com from the client inbound, send the connection on to the internal server...but then transparently catch and rewrite the URL response from the server (https://acme.hosting.com) back to the client as (https://acme.dev.hosting.com) ?

 

 

So in summary the client is only aware of talking to https://acme.dev.hosting.com while the server is only aware of being https://acme.hosting.com?

 

 

This is to avoid having to pay the company that made the application to actually have to change any code.

 

 

Thanks

 

Matt