Forum Discussion

wick54's avatar
wick54
Icon for Nimbostratus rankNimbostratus
Sep 28, 2021
Solved

irule to add member specific URI path

Hi Guys,   We have 2 existing app servers with URL https://abc.xyz.com/abc/crg.aspx and https://def.xyz.com/def/crg.aspx which we try to load balance using F5. App won't work without the specific...
  • xuwen's avatar
    Sep 28, 2021

    when LB_SELECTED {

    if { [IP::addr [LB::server addr] equals "10.1.1.1"] } {

    HTTP::uri "/abc/crg.aspx"

    } elseif { [IP::addr [LB::server addr] equals "10.1.1.2"] } {

    HTTP::uri "/def/crg.aspx"

    }

    }