Forum Discussion
rposey_79430
Nimbostratus
Nov 28, 2007HTTP to HTTPS with a URI and PromoCode
I have two scenarios I need iRules written for and I am having trouble finding a forum thread that related to my setup. I have generic HTTP to HTTPS iRules, but nothing that modifies the domain and UR...
hoolio
Cirrostratus
Nov 28, 2007Here are two rules which do a static redirect for all requests to the same URL. If you want something more dynamic that either of these, can you elaborate on the logic of what to redirect to?
Scenario 1, redirect HTTP requests to HTTPS with a modified URI
when HTTP_REQUEST {
HTTP::redirect https://ABC.com/Consumer/Login.do
}
Scenario 2, redirect HTTP requests to HTTPS with a modified URI
when HTTP_REQUEST {
HTTP::redirect https://genericsite.com/Consumer/Landing.do?promoCode=ABC
}Aaron
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