T_Rajneesh
Apr 26, 2019Nimbostratus
Url redirection
Hi,
i'm trying to redirect to https://abc.com/Test/app. I have a written irule and applied to https vs but it is getting redirected to https://abc.com but not the desired url : https://abc.com/Test/app.
is something i missed or done wrong in irule . or Url starts with captial 'T' does it make any difference while executing irule
irule used:
when HTTP_REQUEST {
set host [string tolower [HTTP::host]] set uri [string tolower [HTTP::uri]]
if { $host == "abc" && $uri == "/" } { HTTP::redirect "; }