cancel
Showing results for 
Search instead for 
Did you mean: 
Stanislas_Piro2
Cumulonimbus
Cumulonimbus

Problem this snippet solves:

The iApp / Deployment guide suggest to disable App Cache for OWA when using F5 APM.

This irule provide a solution to prevent "Access policy evaluation is already in progress" page and keep cache App cache enabled.

How to use this snippet:

enable this irule on the exchange virtual server.

Code :

when ACCESS_SESSION_STARTED {
    set landinguri [ACCESS::session data get session.server.landinguri]
    switch -glob $landinguri {
        "/owa/plt1.ashx?*" -
        "/owa/sessiondata.ashx?appcacheclient=1" -
        "/owa/userspecificresourceinjector.ashx?*&appcacheclient=1*" -
        "/owa/manifests/appCacheManifestHandler.ashx?owamanifest=1" {
            ACCESS::respond 403 -version "1.1" noserver "Connection" "Close"
            ACCESS::session remove
            return
        }
    }
}
Comments
Walter_Kacynski
Cirrostratus
Cirrostratus

Thanks so much! Have you brought this to the attention of the supported iApp?

 

Stanislas_Piro2
Cumulonimbus
Cumulonimbus

Hi,

 

I never use iApps, but deployment guide is useful.

 

I posted this code here to share with all DC members. I hope Exchange iApp developper read this code and will validate to include it.

 

S0S0_251956
Nimbostratus
Nimbostratus

Thanks for great fix.

 

Aussie_Dave
Nimbostratus
Nimbostratus

When verifying the config I am receiving the following warning:

[The following errors were not caught before. Please correct the script in order to avoid future disruption. "unexpected end of arguments;expected argument spec:HEADER_VALUE"366 65][ACCESS::respond 403 -version "1.1" noserver "Connection" "Close"]

Is it possible to avoid this warning by adding the HEADER_VALUE ?

Version history
Last update:
‎26-Jan-2017 12:25
Updated by:
Contributors