Forum Discussion

Jason0's avatar
Jason0
Icon for Nimbostratus rankNimbostratus
Apr 17, 2017

Suppress Redirect When APM Session Ends

Is there a way to suppress the 302 redirect sent when an APM session closes? I've tried using clientless mode but the redirect packet is still sent. I tried an iRule to drop all 302s but it appears to only work for server initiated redirects — not APM initiated redirects.

when HTTP_RESPONSE {
   if {[HTTP::status] == 302}{
      drop
   }
}

2 Replies

  • If its not having any effect then chain the virtual through another. So virtual 1 has the remove 302 iRule with the pool member of virtual 2 which has your APM policy.