Forum Discussion

  • 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" }
                    }
                }
            }