Forum Discussion
Silent redirect to another server, with out changing the url
There are a few things required:
-
You must terminate the client side SSL at the F5. If you do not, then you cannot see or manipulate the layer 7 HTTP data.
-
You would use the HTP::uri command to silently change the URI in the ingress flow:
when HTTP_REQUEST { HTTP::uri "/web/" } -
You may optionally need to change the HTTP host header:
when HTTP_REQUEST { HTTP::header replace Host "xxx.com:8080" HTTP::uri "/web/" } -
You may also need to consider a) how the server responds to clients and b) if you'll need multiple URI patterns. If the server responds with document object references that point to the internal URL space, or you need to map more than one URI pattern, you'll need a mechanism to translate those for external consumption. That can be as simple as a STREAM profile iRule, or as complex as a ProxyPass iRule or 11.4+ rewrite profile.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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