Forum Discussion
sandiksk_35282
Altostratus
Sep 12, 2016Irule to direct traffic to a particular server
I have a 4 servers behind the vip , wondering based on the a particual string or read only calls can i divert all the traffic to app1 behind the vip.
Inorder to acheive this how can i write the i...
Vijay_E
Cirrus
Sep 12, 2016Where does the string exist ?
If it is in URI:
when HTTP_REQUEST {
if { [HTTP::uri] eq "/string" } {
pool POOL_APP1
}
}
If you don't want to create separate pool:
when HTTP_REQUEST {
if { [HTTP::uri] eq "/string" } {
pool POOL_DEFAULT member 10.10.10.10 80
}
}
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