Forum Discussion
JCMATTOS_41723
Nimbostratus
Oct 30, 2009Connection limit to a uri?
We have an LTM with 9.4.7 and would like to set a connection limit of 50 to users that access a certain uri file. Essentially, we have a download /www.abc.comany/download/test.exe which we would like to limit the amount of concurrent users access to this file download and present a sorry page if it goes over the 50 limit. However, we would like the rest of the users not accessing this particular file to forward all traffic normal with no restrictions. Any help is appreciated. Thx!
- hoolio
Cirrostratus
I should add that if you're only checking one path you could remove the datagroup and the replace most of the arrays with single variables. Also, the iRule decrements the count of unanswered HTTP requests when the HTTP response headers are parsed. So if there is a long gap between LTM receiving the response headers and when the client finishes receiving the response content, the iRule will have an artificially low count of unanswered requests.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects