Forum Discussion
Allan_66523
Dec 08, 2011Nimbostratus
redirect url to another pool
I would like to have 1 vip for about 50 virtual web nodes. I would like the irule to look at the url and direct it to the correct pool. Can someone help me with this?
Thanks
Would something like this work?
when HTTP_REQUEST {
switch -glob {string tolower [HTTP::uri]] {
"test.xzy.com" { pool test_pool }
"hello.xzy.com" { pool hello_pool }
"data.xzy.com" {pool data_pool }
default { pool default_pool}
}
}
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