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...
msdatla_64383
Nimbostratus
Aug 16, 2013Thanks Aaron for a quick answer, appreciate it.
But the virtual vs2 is not getting the request if you do so
When you go directly to vs2, it is serving the request (autoSNAT is enabled on both, also CMP is also enabled on both)
i also modifed the iRule to look like this, which should have same affect, same thing happens here as well.
when HTTP_REQUEST {
if {
([HTTP::uri] starts_with "/vip1") ||
([HTTP::uri] starts_with "/vip2")
} then {
virtual vs2
} else {
pool pool2
}
}
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