Forum Discussion
RJ_77653
Nimbostratus
May 29, 2013Need help writing an Irule for a CSS to F5 migrationi
We currently have 2 url's pointed to 1 Virtual IP, if the url contains "thelinkrpts" it will forward to pool a which conatains two servers. But if the url contains "infoview", it gets forwarded to a...
PeteWhite
Employee
Nov 21, 2013When you say redirect, do you mean that you want to send an HTTP Redirect to the client to point to the actual server? ie the server is not located behind the BIG-IP, the BIG-IP is just doing smart redirecting?
Or maybe the BIG-IP redirects to the new URL on a different VS on the BIG-IP that then load balances to pool A?
From your original post it seems that what you want to do is look at the incoming URI and if it contains X then send to server A and modify the URI to be XYZ.
In pseudocode this would be:
when HTTP_REQUEST
if HTTP::URI contains "thelinkrpts"
then
pool A
URI replace with "/businessobjects/enterprise115/InfoView/default.htm"
elseif HTTP::URI contains "infoview"
then
pool B
URI replace with "/businessobjects/enterprise115/InfoView/default.htm"
else
pool C
endif
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