Forum Discussion

Brian_Saunders1's avatar
Brian_Saunders1
Icon for Altostratus rankAltostratus
Sep 16, 2014

IIS Web App Redirects Client to Port 80 from 443

Hey All,

 

I am attempting to do SSL offloading via the F5 for a web app that runs off of IIS. The SSL portion is configured and functioning, when you hit the login page via https://www.myapp.com you get the login page but after entering your credentials to login the web app redirects the client to port 80. I put an 80 to 443 redirect via HTTP Class on the port 80 VIP but it just redirects you to the login page after entering your credentials. Shouldn't the F5 proxy that connection back to the client through the load balancer from 80 to 443?

 

Brian

 

2 Replies

  • If it's truly a 30x-type HTTP redirect, simply enable the Redirect Rewrite setting in your HTTP profile. It is designed specifically to handle this situation.

     

  • You now need to define what that redirect actually looks like. The Redirect Rewrite option, applied to an HTTPS VIP, is intended to rewrite http:// redirect Location headers to https://. If, however, the redirect is not a 30x-type message, then this method won't catch it. If possible, spin up a client side capture utility like Fiddler or HTTPWatch and watch how the client interacts with the site, and what the server sends to generate the redirect to the port 80 URL.