Dbow_21284
Feb 12, 2008Nimbostratus
Redirecting back and forth between HTTP and HTTPS virtual servers for the same site
Hello,
I have a site that we are about to use F5 Big-IP LTM to load balance. I am a little green though and I need some assistance with creating iRULES to redirect back and forth between the Virtual Servers (one is port 80 and one is 443).
Our site is mostly port 80, http://mysite.com and all that traffic is fine initially going through the load balancer. This has been tested. However, there is a login component that switches the url to https://mysite.com/default_ssl.aspx and I need to get this traffic redirected to the 443 VS ... right? I haven't been able to find any examples code or criteria that I need to base the redirect on.
Also, after the user logins, they can click on other areas of the site that go back to port 80. So likewise, I need to be able to redirect the traffic via an iRULE back to the http VS too right?
1) Can anyone shed some light on this and verify that I am going in the right direction with this?
2) Does anyone have any ideas on sample iRULE code that I can use/build upon?
3) Should my web developers know what the triggers should be to redirect? ... I am assuming so.
I appreciate your help!
Dbow!