Forum Discussion
JVV_137012
Nimbostratus
Apr 28, 2016URL rewrite (or HTTP forwarding) using iRule?
Hi All,
Could you please comment on the requirement below?
HTTP client sends out an HTTP request with POST data and a header, say Header_1
Proxy (F5-LTM) should:
a. fetch the ...
Stefan_Klotz
Cumulonimbus
Apr 29, 2016Hi Jatin,
this sounds like pretty easy and simple URI rewriting. Your POST request is coming in like this:
http(s)://
With an iRule you verify the required header with your mapping (data group list) and then just replace the value of [HTTP::uri] with the one from the DGL. So the client would still see the request going towards , but towards the server "behind" the F5 it will go towards . So there will be NO redirect initiated.
Hope that helps you!
Ciao Stefan :)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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