ahmetnuman
Nov 14, 2020Nimbostratus
Limit HTTP Request on LTM
Hello , I want to limit total number of HTTP request on our web application uri (like /test/test1). Is there any irule to accomplish this ? Thank you very much
Hello.
You can use this approach replacing those global variables by table variables (for being CMP compatible).
https://devcentral.f5.com/s/articles/http-session-limit-1
https://clouddocs.f5.com/api/irules/table.html
The basic idea is to increase the counter value when HTTP_REQUEST is executed and decrease the same variable when HTTP_RESPONSE_RELEASE is executed.
Regards,
Dario.