Forum Discussion
JCMATTOS_41723
Nimbostratus
Nov 26, 2007Proxy Rewrite?
We have a LTM 9.4x and we would like to setup a test environment that will accept incoming requests on our company's VIP www.test.com and use it to proxy to another companies public external site www.????.com but rewrite it so when it returns to the client it see's our site www.test.com instead. I'm sure there's nothing that the magic irules can't do, but if you could be so kind and please point me in the right direction or suggestions we would greatly appreciate it...Thx!
- hoolio
Cirrostratus
- JCMATTOS_41723
Nimbostratus
Thx Aaron, It is a nice but very elaborate example. I just had a few questions regarding this script, in the data group section if a request is made to www.test.com/??? and the hostname is rewritten to www.test2.com/??? will the return response back show that of www.test.com/??? to the client? - hoolio
Cirrostratus
I haven't delved into all of the details of the rule, but the concept is to hide the rewriting of the URI from client. So if the client requests www.test.com they will not be redirected to www.test1.com and won't see the effects of the rewriting. - JCMATTOS_41723
Nimbostratus
Okay here's what I got Aaron, not sure but the rule appears to be working on the debugging side: - hoolio
Cirrostratus
Try taking a look at the codeshare page. There is a section which notes: - JCMATTOS_41723
Nimbostratus
Thx again Aaron, I tried the data groups and still no luck...What if I have no pools/nodes to use, and I wanted to use virtual forwarding directly to the external site while still utilizing this irule is it possible? - Patrick_Chang_7Historic F5 AccountYour pool would be a pool of 1 member and the member would be the public IP address and port of the app you are trying to get to.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects