Forum Discussion
Cathi_Hahn_3185
Nimbostratus
Jul 28, 2006Rule to redirect http to https
How do I write a rule to redirect someone from the virtual server "stuff" to the virtual server "stuff-ssl"? We need to force users who do not enter the "https://" to go to the SSL site. I don't nor...
dennypayne
Employee
Jul 31, 2006For your application I would think
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}would be sufficient. I haven't needed to use getfield to get this to work in many implementations.
Denny
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