Hello,
I have created a vip that used http redirect to https. Right now I am using the default redirect irule
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
so basically when the customer types in the following
http://abc.com/wfc/logon it automatically redirects to
Fine no issues there.
The customer would like though to be also to type in the following and have it redirect like this.
and have that redirect to
I tried doing it on the port 80 part of the vip with
when HTTP_REQUEST {
if { [HTTP::host] eq “abc” } {
HTTP::redirect “https://abc.com/wfc/logon”
}
}
That though did not work.
So do I put it on the 443 side on the vip. (I used the templates to set this up) or is my syntax screwed up here.
Thanks
Shawn