Forum Discussion
dradiant_306130
Jan 26, 2017Nimbostratus
iRule for directing OWA/OA Traffic
Hey! Total beginner at iRules so hoping someone could point me in the right direction.
In summary what I want to do is the following:
1) If a Mac Outlook app comes in (using webmail.company.com/...
Jan 26, 2017
Yes, if the pool isn't changed by the iRule the default pool will be used. You could also try something like this:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "webmail.company.com" } {
switch -glob [string tolower [HTTP::uri]] {
"/ews/exchange.asmx" {
pool Exchange_2013_proxy_pool
}
default {
HTTP::redirect "https://site.company.com"
}
}
}
}
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