Forum Discussion
Michael_Knowles
Nimbostratus
Sep 19, 2006iRule help -- URI Routing?
Hi all, I am new to the F5 load balancers and need some assistance setting up an iRule. We have 2 BIG-IP Kernel 4.5.14 Build5 in a load balanced environment.
(note: I orignally posted this i...
hoolio
Cirrostratus
Sep 20, 2006Some background:
The format for a full URL is:
protocol://hostname[:port]URI[?parameter=value]
Port and parameter/value are optional. When someone makes a request to http://citrixvipname the browser appends a / to the end of the URL. So / is the default URI.
So with that in mind, option 1 says that if a request is made to /, redirect it to the same host that was used in the request, but with a URI of /citrix/metaframe/. If the requested URI is not equal to /, then send the request to the pool.
The second rule says that if the request starts with /citrix/metaframe/ send it to the pool. Else, if it doesn't start with /citrix/metaframe/ already, redirect the client to that URI using the same host that the request was made to.
Aaron
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