Forum Discussion
jedi755_42158
Apr 05, 2012Nimbostratus
iRule redirect OWA and https
Hello, I am trying to write an iRule which redirects traffic to /owa and to https.
User---> http://webmail.mycompany.com
iRule---> https://webmail.mycompany.com/owa ...
hooleylist
Apr 05, 2012Cirrostratus
Hi,
That looks good. Assuming you're using the iRule on an HTTP (not HTTPS) virtual server, you could also redirect all other URIs to https:// preserving the URI:
when HTTP_REQUEST {
if { [HTTP::path] equals "/" } {
HTTP::redirect "https://webmail.mycompany.com/owa"
} else {
HTTP::redirect "https://webmail.mycompany.com[HTTP::uri]"
}
}
Aaron
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