Forum Discussion
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
- Kevin_StewartEmployee
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.
- Kevin_StewartEmployee
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.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com