Forum Discussion
fsolis@newnetsa.com
good afternoon,
I need to create a rule that from a virtual server (10.8.60.10) send me links to two different pool ((pool 1 (10.8.37.21,10.8.37.22,10.8.37.23) pool 2 (10.8.37.11,10.8.37.12, 10.8.37.13)). depending on the url that is generated by the request.
for example:
http://intranet.bancolombia.corp
virtual server: 10.8.60.10
pool1: 10.8.37.21
10.8.37.22
10.8.37.23
http://apr.bancolombia.corp
http://banagricola.bancolombia.corp
http://bib.bancolombia.corp
virtual server: 10.8.60.10
pool2: 10.8.37.11
10.8.37.12
10.8.37.13
TKS.
- nitassEmployeecan you try something like this?
when HTTP_REQUEST { switch [string tolower [HTTP::host]] { "intranet.bancolombia.corp" { pool pool1 } "apr.bancolombia.corp" - "banagricola.bancolombia.corp" - "bib.bancolombia.corp" { pool pool2 } default { do something } } }
Recent Discussions
Related Content
* 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