Forum Discussion
Ralph_Duane_761
Nimbostratus
May 13, 2005Rookie needs help. iRule url redirection
I am a newbie with BigIP and not much of a coder either. I want to use BigIP to redirect traffic based on the url. If url contains tsa then goto one webpool and if it contains either tsa_test or tsa_t...
JRahm
Admin
May 13, 2005try this:
rule URI_switch {
when HTTP_REQUEST {
set uri_info [HTTP::uri]
if { $uri_info contains "tsa_test" or \
$uri_info contains "tsa_train" } {
use pool pool_two
} elseif { $uri_info contains "tsa" } {
use pool pool_one
}
else {
use pool default
}
}
}
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
