Creation of an irule

Hi,

I need to set up configuration as below:

URL → Node

https://abc-group.com/backup → https://abc-group.com/loadbalancer → https://abc-group.com/operations → https://abc-group.com/appliancehousing →

But already VIP is exist on f5 with the pool having different node with other service.

Please suggest me how to write an irule for the above case?

You can write iRule some thing like below.

when HTTP_REQUEST {
        set uri [string tolower [HTTP::uri]]
        if { [string tolower [HTTP::host]] equals "abc-group.com" } {
            switch -glob $uri {
             "/backup*" -
             "/loadbalancer*" -
             "/operations*" -
             "/appliancehousing*" { HTTP::redirect "http://xyz:8089$uri" }
                }
            }
        }

Thank you…it worked out…