Forum Discussion
William_Them_99
Nimbostratus
Mar 01, 2006Changing pool from the default
We have a virtual server with a default pool. For certain URIs on this virtual server, however, we need it to use a pool other than the default.
We have used the "pool" command after ...
William_Them_99
Nimbostratus
Mar 01, 2006Thanks for your response.
In our situation, we can't quite do the straight IF-ELSE for the pool...somewhere down within the WHEN HTTP_REQUEST block, we have this code
if {[HTTP::uri] starts_with "/logins"} {
log local0. "within logins check"
switch [HTTP::host] {
""
{
log local0. "redirecting login to logins-pool"
pool logins-pool
}
default { log local0. "in switch default"}
}
}
So, to try to use your suggestion, I just put another switch statement at the very beginning of the HTTP_REQUEST to just select the default pool for each virtual server...which I thought would sort of reset things. I still see the same behavior on an intermittent basis though....hmmmm.
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