Forum Discussion
msdatla_64383
Nimbostratus
Aug 16, 2013Selecting another Virtual from and iRule of one Virtual ? URI based routing ?
Hi guys,
Is there a way that we can select new virtual from the iRule of one Virtual server? i tried "LB::reselect virtual vs1" but it didn't worked.
I am trying to implement URI based routing b...
Kevin_Stewart
Employee
Aug 16, 2013Minor update to your code:
when HTTP_REQUEST {
if { ( [HTTP::uri] starts_with "/vip1" ) || ( [HTTP::uri] starts_with "/vip2" ) } {
virtual vs2
} else {
pool pool2
}
}Does this work?
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