Forum Discussion

Shawn_Conway's avatar
Feb 01, 2019

"sys_APM_MS_Office_OFBA_Support" irule and outlook

This is an intermittent problem. We have a custom form login page that works fine when using any browser and all the images are displayed. We also use the "sys_APM_MS_Office_OFBA_Support" irule that allows our outlook client get prompted for the same login page when accessing some calendar resources in sharepoint. This works great by the way accept the images of form login do not always display and mostly do not. We do see some 302 error in fiddler when it is not working

 

2 Replies

  • Some more information: We are able to get the form images to appear every time (but not a solution).

     

    1. Open "Internet Explorer" (not Edge) and go to form login page - (you don't have to login) 2. open outlook and go to calendar and the pop window has all it's images

    So it is using a shared cookie or the cache images or something. I am trying to go through irule to see if it is not setting a cookie that gives permission or something to the images???

     

    So that is why in fiddler we do not see the paths to images when it is working. Do you know what change we could do to get it to work without going to Internet Explorer first?

     

  • Worked with F5 support and we finally got it resolved. I wonder if they will update the "irule" in another patch. Anyway here is the fix:

    The Escalations Engineer working you case was able to reproduce a lab that generated similar behavior. They were able to resolve the undesired redirect to requests for images by placing the following if statement in when HTTP_REQUEST:

    if { [HTTP::path] contains "/public/images" } { return }

    like this:

    when HTTP_REQUEST {

    client detection, for ofba client
        set ms_sp_client_type "none"
        set http_path [string tolower [HTTP::path]]
        set http_user_agent [string tolower [HTTP::header "User-Agent"]]
        set session_id [HTTP::cookie value "MRHSession"]
        set f_allow_session 0
        set ms_ofba_auth_cookie ""
        if { [HTTP::path] contains "/public/images" } {
            return
        }