Forum Discussion
boneyard
May 06, 2017MVP
it is a pretty common request so you can also first do some searching there will be many similar posts with working answers.
just looking at them from a syntax / logic point of view.
; isn't needed in tcl / irules, try without it
looking for just a host header and then redirecting to the same host header but with a different uri will cause a loop by default. as the redirect will hit the same irule which again see that host header so redirects.
so your initial host header check should probably include a uri check also, so if host header is abc.com and uri is empty or /
good luck.