22-Jan-2021 09:44
I am looking for below scenario
when accessing https://abc.xyz.com:8080 , i would like to redirect to https://cde.xyz.com:8080. Agree that is a simple irule. However when the request is https://abc.xyz.com:8080/xxx/xxx , i do not want the redirection.
How can we do that, any help is greatly appreciated.
22-Jan-2021 14:33
You can check for the uri part of the request using [HTTP::uri]
Something like:
if { [HTTP::uri] equals "/" } {
#Your redirect goes here
}