Forum Discussion
Route to different pools based on /content
Hi Greg,
We have a similar kind of situation here ie. there is an existing pool on the Loadbalancer supporting a website "www.domain.com". Currently, whenever an user types in the URL tab as www.domain.com, that request is re-directed to that existing pool on our Loadbalancer. The requirement is that whenever an user enters the URL name as www.domain.com, the request should be re-directed to one particular pool( which is yet to be created ) and if the user types specifically www.domain.com/abc or whatever the content maybe after the domain-name, the request should hit the existing pool. To accomplish this, will this below given script help?
switch [string tolower [HTTP::uri]] {
"*" {
existing_pool
}
default_pool {
New_pool
}
}
Thanks..
Recent Discussions
Related Content
* 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
