Forum Discussion
ASP_Palermo_311
Nimbostratus
Feb 22, 2017Balancing to Tomcat servers
I have many servers in a "Pools List" that are running Tomcat, now the full uri include:
I want balance among the "Pools", but the user request mustn't include "port" (8080) or path, like:
Is it ...
Vijay_E
Cirrus
Feb 22, 2017Assuming you want to send traffic to the pool of tomcat servers whenever the host header does not have ":8080", you can use something like this:
when HTTP_REQUEST {
if { not ([HTTP::host] contains ":8080") } {
pool POOL_TOMCAT_Servers
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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