Forum Discussion
meenny_60187
Nimbostratus
Nov 25, 2013Load Balance HTTP Redirections
Can someone help me out here? I am trying to redirect a front end internal URL to a couple of servers on different ports via round robin. However, I don't want it to redirect to a server or port th...
Jason_40733
Cirrocumulus
Nov 25, 2013If the strings for the URL and the response are the same for each pool member, then a standard monitor that gives an accurate up/down will work fine for the server+port availability.
It looks like you have the same string each time. A quick URL re-write iRule will accomplish that. Someone else may know of a better method.
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/" { HTTP::redirect "http://[HTTP::host]/here" }
}
}
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