Forum Discussion

Pratik_125797's avatar
Pratik_125797
Icon for Nimbostratus rankNimbostratus
Apr 10, 2013

ACCESS::disable not working

Hello,

 

I am trying to disable APM when it detects particular host header in access policy, but it doesn't work. It just receives connection reset.

 

when CLIENT_ACCEPTED {

 

ACCESS::restrict_irule_events disable

 

}

 

when HTTP_REQUEST {

 

if { [HTTP::host] eq "xyz.com"} {

 

ACCESS::disable

 

}

 

}

 

2 Replies

  • Please comment out the ACCESS::restrict_irule_events disable statement and test again.
  • Hi Kevin,

     

     

    I tried that but it doesn't work. I am running 11.2.1 HF 1 and it seems to be a bug. I read in HF 3 release notes that ACCESS::disables irule works fine with applications having SSO. So will try that before playing around with the irule.