Forum Discussion
Brad_Parker
Cirrus
If you TESTSERVER(2) servers are defined as nodes and reachable via the LTM you could just do a rewite with a node selection rather than a redirect.
when HTTP_REQUEST {
set req [string tolower [HTTP::uri]]
if { $req starts_with "/lodi" } {
node 8080
HTTP::uri /lodi/home
}
elseif { $req starts_with "/walking"} {
node 8080
HTTP::uri /BOB/CAT
}
pool Test_Svrtier_Pool
}
Also, I'm not quite sure why you had the
use pool Test_Svrtier_Pool
between your IF statements so I put it at the end. Also, unless you are still running BigIP 4.x you don't need the use
command.Brad_Parker
Jan 13, 2015Cirrus
Absolutely can be, just use pool .