mahanth
Aug 14, 2020Altostratus
iRule to redirect header to a specific node
Hello we created an iRule to redirect header with a specific value to a particular node. But, we were not able to specify the node name and had to specify the node IP address. Is there a way to specify node/member name instead of the IP?
iRule:
when HTTP_REQUEST {
if { [HTTP::header exists test]} {
set node [HTTP::header value test]
node $node 80
}
}