Forum Discussion
Florent_Thieba1
Feb 27, 2013Nimbostratus
We do have this.
We host a 2010 Microsoft Exchange solution.
Here is the irule:
when HTTP_REQUEST {
if {([HTTP::uri] == "/") || ([HTTP::uri] == "/exchange") || ([HTTP::uri] == "/exchange/") || ([HTTP::uri] starts_with "/exchweb/") } {
HTTP::uri /owa
}
switch -glob -- [string tolower [HTTP::path]] {
"/microsoft-server-activesync" {
pool Exchange_2010__owa_pool
COMPRESS::disable
CACHE::disable
return
}
"/owa*" {
Outlook Web Access
persist cookie insert
pool Exchange_2010__owa_pool
return
}
"/ecp*" {
Exchange Control Panel.
persist cookie insert
pool Exchange_2010__owa_pool
return
}
"/oab*" {
Offline Address Book.
pool Exchange_2010__owa_pool
return
}
"/autodiscover*" {
Autodiscover.
pool Exchange_2010__owa_pool
return
}
default {
pool Exchange_2010__owa_pool
}
}
}
when HTTP_RESPONSE {
if { [string tolower [HTTP::header values "WWW-Authenticate"]] contains "negotiate"} {
ONECONNECT::reuse disable
ONECONNECT::detach disable
this command disables NTLM conn pool for connections where OneConnect has been disabled
NTLM::disable
}
this command rechunks encoded responses
if {[HTTP::header exists "Transfer-Encoding"]} {
HTTP::payload rechunk
}
}