Forum Discussion
Hi Kees ,
Thanks for the code . it work for "/m2p" and other NOT working . Now I removed RETURN at the end of each NODE . Looks likes its Working . I am doing more TESTING .
Can you please ADVISE on this Irule .
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] equals "test-esb-vip-bma.bhp.com") } {
if {[HTTP::uri] starts_with "/m2p" }
{
node 10.30.214.1 2783
}
if {[HTTP::uri] starts_with "/aps"}
{
node 10.30.230.31 7001
}
if {[HTTP::uri] starts_with "/bmx"}
{
node 10.30.214.38 61648
}
if {[HTTP::uri] starts_with "/cts"}
{
node 10.30.214.236 4515
}
if {[HTTP::uri] starts_with "/mii"}
{
node 10.30.215.174 50000
}
if {[HTTP::uri] starts_with "/ampla-bma"}
{
node 10.30.222.43 8889
}
if {[HTTP::uri] starts_with "/ampla-bmc"}
{
node 10.38.2.48 8889
}
if {[HTTP::uri] starts_with "/iqt-bma"}
{
node 10.30.215.208 8889
}
if {[HTTP::uri] starts_with "/iqt-bmc"}
{
node 10.30.222.230 8889
}
}
}
Many Thanks for Helping me OUT .