Forum Discussion
dimka___104021
Nimbostratus
Jun 15, 2006http redirect to https
Hi,
I have set up VS with ssl on port 441. If client accesses http://192.168.3.3:441/ how can i redirect him to SSL VS https://192.168.3.3:441/ ?
tia,
Deb_Allen_18
Jun 15, 2006Historic F5 Account
HTTP and HTTPS connections on the same virtual server are not supported. As soon as you apply a clientssl profile to the virtual, any connection attempt will initiate the SSL handshake, and HTTP requests will be reset when the browser declines to negotiate the handshake.
You would need to create 2 different virtuals, changing either the port or the IP or both, then apply a variation of this simple rule (Click here ) to the HTTP virtual. (You'll need to modify the redirect line to include the appropriate port by inserting ":" just before [HTTP::uri], where is port of the HTTPS virtual.)
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects