Forum Discussion
ccook_14058
Dec 15, 2011Nimbostratus
Exchange 2010 activesync not working
using the following Irule when HTTP_REQUEST { if { [HTTP::header "User-Agent"] contains "MSRPC" } { persist uie [HTTP::header "Authorization"] 3600 pool Exchan...
Michael_Yates
Dec 15, 2011Nimbostratus
Hi ccook,
Logging is your very best friend in situations like you are seeing, because it at least works in some fashion allowing you to see why.
This is what I would suggest doing:
when HTTP_REQUEST {
if { [HTTP::header "User-Agent"] contains "MSRPC" } {
log local0. "User-Agent Match: [HTTP::header value User-Agent ]"
persist uie [HTTP::header "Authorization"] 3600
pool Exchange_2010__single_oa_pool
HTTP::class disable
}
elseif { [HTTP::uri] contains "Microsoft-Server-ActiveSync" } {
log local0. "ActiveSync Match: [HTTP::uri]"
persist cookie
pool Exchange_2010__single_as_pool
HTTP::class disable
}
else {
log local0. "User-Agent Value: [HTTP::header value User-Agent ]"
log local0. "URI Value: [HTTP::uri]"
persist cookie
pool Exchange_2010__single_owa_pool
}
}
You can examine the results in the /var/log/ltm log. The User-Agent is case sensitive, as well as the entire URI, so you might just need to string them to lower to fix your issue, but the logging in the Else statement will tell you one way or the other.
Hope this helps.
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