Forum Discussion
samstep
Apr 18, 2017Cirrocumulus
You can't use ACCESS::disable in HTTP_REQUEST_DATA, it is not valid there.
It is only valid on HTTP_REQUEST
https://devcentral.f5.com/wiki/irules.access__disable.ashx
Perhaps you want to respond to the offending request with an error code and close the connection? Then you can use HTTP::respond which is valid in HTTP_REQUEST_DATA
https://devcentral.f5.com/wiki/irules.http__respond.ashx