Forum Discussion
David_Y_20509
Nimbostratus
May 21, 2010HTTP Redirect OWA without SSL
Hello, I am new to the F5 iRules. I am trying to load balance the Exchange OWA. Since it is internal, we are not using SSL. I have used the following iRule from the deployment guide, but modified t...
Michael_Yates
Nimbostratus
May 21, 2010Where I work we try to write what we call "any.any" iRules. Meaning that we can apply it to any Virtual Server and get the same result.
This is our HTTPS to HTTP Redirect iRule. It will get the [HTTP::host] and [HTTP::uri] of whatever you apply it to and redirect it to HTTP.
when HTTP_REQUEST {
HTTP::redirect http://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
The key is where you apply the iRule. Do NOT apply an HTTPS to HTTP Redirect to your HTTP Virtual Server (only your HTTPS Virtual Server) or you will create an endless loop.
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