Forum Discussion
Anthony_Fornito
Cirrus
Nov 20, 2017Redirect based off URL not URI
I have 3 nodes setup
In IIS on each server I have a binding:
https://node1.domain.com/
https://node2.domain.com/
https://node3.domain.com/
My nodes:
Node1192.168.70.57
Node2192.168.70....
Stanislas_Piro2
Cumulonimbus
Nov 21, 2017The URL is a client side view. the F5 never see the whole URL in the request but :
- URI
- Host header
- other headers
I guess you want to filter based on the Host header, so try this:
when HTTP_REQUEST {
if { [string tolower [HTTP::host] ] contains "node1" } {
node 192.168.70.57 443
}
}
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