Forum Discussion

steven_barnes_2's avatar
steven_barnes_2
Icon for Nimbostratus rankNimbostratus
Nov 20, 2015

iRule URL redirect

I have two VIPS with same IP address. One for 443 and one for 80. I have 3 URLs for the 2 VIPs. The VIP for 443 only has one cert and should only accept one URL correctly. The port 80 VIP should be able to take all 3 URLs for port 80. Two of the VIPs are only for port 80. If a user types in https in front of either of the two URLs only for port 80 it will go thru but the will get a cert error because the cert is only for one URL. How do I redirect the traffic for the two VIPs that should only be going through port 80 to be redirected to port 80 if the user types in https.

 

1 Reply

  • To redirect those two hostnames without a user getting a cert error will require valid certificates for those two hostnames. You can't redirect them until after a successful SSL handshake if they are requesting HTTPS.