Forum Discussion
roliveira_76566
Nimbostratus
Aug 24, 2007Routing diferent URLs to diferent Servers
Dear all,
If you could reply with an answer or point me to the right direction or documentation for the question below, I would be really thankful.
The string replacement talk abou...
JRahm
Admin
Aug 24, 2007If you want to pursue the rule, the following should would for you:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] contains "consult"} {
pool BOX1
} else { pool BOX2 }
}I made the assumption that you meant consult would be anywhere in the HOST. If that's not the case, you can also check the URI path ([HTTP::path]) and query ([HTTP::query]) information
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
