Forum Discussion
Bob_10976
Feb 09, 2012Nimbostratus
Redirect to different Pool based on Host
Hello all...
I'm in the process of migrating several site from one server group to another, and since I'm only doing a few at a time I want to be able to redirect request for those sites that ha...
nitass
Feb 09, 2012Employee
yes, it should work just fine.
e.g.
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"new.domain.com" {
pool new_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