Forum Discussion
laerm_151742
Aug 08, 2014Nimbostratus
IE choking on exchange iRule
Hello community,
Bit of a strange issue, and it's most probably an IE bug but I was wondering if anyone had tips on how to mitigate by tweaking the iRule in the Exchange 2013 iApp. We can't reprodu...
- Aug 08, 2014
Hi laerm, the popup isn's using the referer header that we key on to tell us that the request came from OWA instead of EAC. Try modifying your rule to include the URL for the rule editor:
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] contains "/ecp" } { set response "EAC Access Denied We are sorry, but access to the Exchange Administration Center is restricted to approved client IP addresses. Your IP address, [IP::client_addr], is not approved." if { [HTTP::header exists "Referer"] } { if {[HTTP::header "Referer"] contains "rfr=owa" } { pool my_owa_pool } } elseif {[string tolower [HTTP::uri]] contains "/ruleseditor/editinboxrule.aspx" || [class match [IP::client_addr] equals "exchange_2013_trustedAddresses"]} { pool my_owa_pool } else { HTTP::respond 200 content $response } unset response } }
mikeshimkus_111
Aug 08, 2014Historic F5 Account
Hi laerm, the popup isn's using the referer header that we key on to tell us that the request came from OWA instead of EAC. Try modifying your rule to include the URL for the rule editor:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/ecp" } {
set response "EAC Access Denied
We are sorry, but access to the Exchange Administration Center is
restricted to approved client IP addresses. Your IP address,
[IP::client_addr], is not approved."
if { [HTTP::header exists "Referer"] } {
if {[HTTP::header "Referer"] contains "rfr=owa" } {
pool my_owa_pool
}
} elseif {[string tolower [HTTP::uri]] contains "/ruleseditor/editinboxrule.aspx" || [class match [IP::client_addr] equals "exchange_2013_trustedAddresses"]} {
pool my_owa_pool
} else {
HTTP::respond 200 content $response
}
unset response
}
}
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