Forum Discussion
Michael_Cope_10
Nimbostratus
Oct 03, 2005HTTP::redirect inside switch {} works but generates errors
I've got a large number of ssl vips on the same ip on different ports. I set up an irule to redirect port http requests to https+port. This works but with extraneous errors which I don't understand....
Brian_Gupta_115
Nimbostratus
Oct 03, 2005Suggestion: try this rule.
rule http2https_redirect {
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
}Click here http://devcentral.f5.com/Default.aspx?tabid=28&view=topic&forumid=5&postid=2168Set this up as two VIPS. One for the HTTP to HTTPS redirect, and one for HTTPS.
-Brian
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
