Forum Discussion
Brad_Parker_139
Nacreous
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_223799
Jan 15, 2016Nimbostratus
Thank 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.