Forum Discussion
Lucilius_223799
Nimbostratus
Jan 14, 2016Redirect issue (Global http to https but one website)
Hello everyone, My goal was to redirect everything to https but one website. This website has to stay on http. I have with some looking around and working up created the following code: ...
Brad_Parker_139
Nacreous
Jan 15, 2016Take the http:// part out of your first switch conditional. also you may want to use the glob parameter in the switch. IE switch -glob then make your condition end with a * since I assume you may have some longer paths and possible query parameters. HTTTP::uri includes query parameters.
Kai_Wilke
MVP
Jan 15, 2016Please post your changed iRule, so that we can find the incorrect parts... ;-)
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