F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

3 Replies

  • This seems pretty straight forward. Are you having trouble making it work?

     

     

    If the individual rules work, then this should work.

     

     

    when HTTP_REQUEST {

     

    if { [HTTP::host] contains "abcscommercial-dev.fs-nafta.india.com" } {

     

    HTTP::redirect https://dfindia-dev.fs-nafta.india.com/inet/en/mbsprinter/common/home.do

     

    }

     

    elseif { [HTTP::host] contains "abccommercial-dev.fs-nafta.india.com" } {

     

    HTTP::redirect https://dfindia-dev.fs-nafta.india.com/inet/en/mbsprinter/common/home.do

     

    }

     

    else {

     

    HTTP::redirect https://www.dfindia-dev.fs-nafta.india.com[HTTP::uri]

     

    }

     

    }