Forum Discussion
John_Klemm_4418
Nimbostratus
Nov 16, 2006http:// to https:// redirect not working
I am unable to get my redirect to work.
I have a single vip that supports 80 and 443 I have the redirect rule applied to port 80.
Basically my client wants to type in http://myhome...
John_Comstock
Nimbostratus
Nov 16, 2006Here is a simple http2https redirect
when HTTP_REQUEST { HTTP::redirect https://[HTTP::host][HTTP::uri] }It doesnt do any logging, but when you apply it to your http virtual server it will redirect your client to https. It keeps the host and uri.
So if your client comes into http://yoursite.com/index.html they will get redirected to https://yoursite.com/index.html.
and you can apply the same iRule to multiple virtuals.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
