Forum Discussion
Pete_Paiva_7147
Nimbostratus
Apr 02, 2013HTTPS redirect
Hi all,
Is there an iRule equivalent to this but for HTTPS?
when HTTP_REQUEST {
HTTP::redirect https://www.mysite.com
Elias_O_16228
Nimbostratus
May 01, 2013We have SSL cert on our website (www.abc.com) but cannot access it by typing https://www.abc.com on browser except from inside the main page. It is only when you click the secured webform link inside the page, which would become https://www.abc.com/form/siet/bra
Some customers would want attempt to go directly to the secured form which would not work rather prompt them for username/password.
I want to redirect so that if customers type https://www.abc.com, it will redirected them to http://www.abc.com
Would this work the trick?
when HTTP_REQUEST {
HTTPS::redirect "http://[HTTP::host][HTTP::uri]"
}
I have two VIPs (http and https). In order not to mess up the inside page secured form link, I am confused on which VIP to apply this redirect (http VIP or https VIP).
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