annielee_13548
Oct 24, 2014Nimbostratus
Redirect / rewrite
Hello Experts,
I'm trying to redirect/rewrite the below, but getting nowhere :
Original : http://abc.com/xxx/yyy should be converted to New : https://10.1.1.1/xxx/yyy
Tried with the coding but not working : if { [string tolower [HTTP::host]] ends_with "abc.com" } { HTTP::redirect "https://10.1.1.1[HTTP::uri]" }
Did tried with policy as well, and doesnt seems to working..
Thanks in advance.