Ashish_R_G_2512
Oct 24, 2016Nimbostratus
Redirect www to https
Hi,
I have configured an HTTP VIP and configured irule to redirect all HTTP traffic to HTTPS VIP which I have created. It is working fine as expected. Below are the script which i have used.
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]”
}
I want to create another rule when someone try to access http://www.abc.com it should be redirected to https://abc.com i.e. I need to remove the www and also it should be redirected to HTTPS VIP. Is there any way to achieve this.
Thank you,
Ashish R