Forum Discussion
Sheldon_17198
Nimbostratus
Feb 24, 2011Redirect all HTTP traffic to HTTPS://domain/owa
Morning All.
I am trying to write a iRule to redirect all traffic hitting a virtual server listening on port 80 to a https://domain.co.uk/owa.
I have been reading through some exam...
Chris_Miller
Altostratus
Feb 24, 2011Welcome to the forums.
First of all, it's imperative to use the right "event" for your iRule. In this case, you want to use HTTP_REQUEST. HTTP_RESPONSE happens once the F5 LTM receives a response from your pool members.
Give this a shot. It'll send whatever the user requests to the same URL but over HTTPS. If instead you'd like to change the hostname or URI, simply change it below. üòâ
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]" }
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