Bob_10976
Nimbostratus
Feb 09, 2012Redirect 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 have been moved to the new pool and the not default pool. I have a similar rediret rule that I've used based on path, however I'm thinking I can simply change the "path" to "host", would that be correct?
when HTTP_REQUEST {
switch -glob "[string tolower [HTTP::path]]" {
"/bob*" -
"/shopping*" {
pool secure2.test.domain.com
}
default {
pool secure.test.domain.com
}
}
}
Thanks,
Bob