Forum Discussion

dabance's avatar
dabance
Icon for Altocumulus rankAltocumulus
Jan 22, 2021

irule that only matches strict hostname

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.