Forum Discussion
Sthefanie_Marq1
Nimbostratus
Oct 30, 2018Redirect all traffic from URN to a node specific
How can i redirect all traffic from urn to a node specific? Example:
VS_EXAMPLE = 20.20.20.1 port 443
POOL_EXAMPLE with the follow pool members NODE_01 10.10.10.1 port 1000 should be the response of URN: /EXAMPLE01/ NODE_02 10.10.10.2 port 2000 should be the response of URN: /EXAMPLE02/
- Stanislas_Piro2
Cumulonimbus
Hi,
you can try this:
when HTTP_REQUEST { if {[HTTP::path] starts_with /EXAMPLE01/ } { pool POOL_EXAMPLE member 10.10.10.1 1000 } elseif {[HTTP::path] starts_with /EXAMPLE02/ } { pool POOL_EXAMPLE member 10.10.10.2 2000 } }
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