Forum Discussion
Renjith_p_Mathe
Nimbostratus
May 27, 2014i Rule for Traffic rediriction
Hi
Please assist me on the config setup and i rule for the below requirement.
I have one website www.abc.com is published via F5 and its working fine.
Lets Say Its Virtual server 192.168.X.X and...
Vitaliy_Savrans
Nacreous
May 27, 2014when HTTP_REQUEST {
if { [HTTP::uri] ends_with "/apply" } {
node 10.1.1.1
} elseif { [HTTP::uri] ends_with "/judge" }{
node 10.1.1.2
} elseif { [HTTP::uri] ends_with "/admin" }{
node 10.1.1.3
} else {
pool html_pool
}
}
Narendren_S_658
Nimbostratus
Jun 03, 2014Hi, in the conditional statement i would suggest to use "contains" instead of "ends_with".
It is not necessary that the keyword always need to be in the end of the uri.
Hope you understand.
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