Forum Discussion
Luca_55898
Jun 27, 2011Nimbostratus
Redirect to TCP port based on URL
Hello,
We have an Alteon load balancer that will be replaced with an LTM very soon.
We have a pool of two servers which run a bunch of different websites. The sites all use the s...
hooleylist
Jul 06, 2011Cirrostratus
If you don't want to use a default pool on the virtual server, you'd want to ensure that you assign a pool in each case in the switch statement:
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/employees*" { pool pool-81 }
"/customers*" { pool pool-82 }
"/new_users*" { pool pool-83 }
default { pool pool-80 }
}
}
Aaron
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