Forum Discussion
Brad_Parker_139
Jan 15, 2016Nacreous
Take 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.
- Lucilius_223799Jan 15, 2016NimbostratusThank you for the answer Brad, I changed the iRule with your recommendations. However the pages that shouldn't be redirected to https are still going to https from what I can see and are stuck in an a redirect loop. I wonder if it is something on the other side that is causing that issue though and not the iRule itself.
- Kai_WilkeJan 15, 2016MVPPlease post your changed iRule, so that we can find the incorrect parts... ;-)
- Brad_Parker_139Jan 15, 2016NacreousLets take one step back and see if we even need an irule. Where is this iRule attached? You say one website needs to not redirect to HTTPS. is that a whole FQDN or just the application pathh you specified in your sample irule?