Forum Discussion
umiotoko_95283
Feb 03, 2011Nimbostratus
Select node based on URI value
Hi Everyone,
I have a HTTPS / SSL web app, the end user is LB across a server farm with persistence, this works fine. It's a kind of remote support application.
When a phone call for remote suppo...
Chris_Miller
Feb 03, 2011Altostratus
I assume these servers all in the same pool? If so, it'd be better to specify a pool member than a node. You can't use [HTTP::uri] from LB_SELECTED so HTTP_REQUEST is a good spot for this.
You'll probably end up with something like this:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"*/server=7*" { pool poolname member 192.168.1.7 80 }
"*/server=8*" { pool poolname member 192.168.1.8 80 }
default { pool defaultpool }
}
}
Will also possibly need OneConnect for this,
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