Slow down or throttles down apache server to avoid automatic downloads
The Apache module mod_bwshare throttles HTTP requests to Apache 1 and 2 servers for each client IP address independently. This module accepts or rejects HTTP requests from each client IP address based on past downloads by that client IP address.
If the HTTP client's download rate exceeds specified levels, the reponse to the HTTP client is an HTML warning message. A human browser will see a warning message indicating how long to wait. Automatic rampant downloaders will download large numbers of useless warning messages.
The original motivation for mod_bwshare was to prevent automatic download of all 900 MBytes of material on one of my web sites which was connected to a 33k modem, which would have taken several days if it had succeeded.
Debian Administration site has published the configuration directives for mod_bwshare:
If you're running a popular website you'll most likely notice that some clients are less well-behaved than others. Greedy clients can do anything from make numerous requests, to attempting to spider your entire site.
Avoiding greedy webclients with mod_bwshare [debian-administration.org]
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Why do I see Apache Test page?
- Apache becomes the Leader in SSL Servers
- Apache httpd debugging Logs on steroids
- Howto Setup Active Directory Authentication With Apache WebServer
- How to: Apache authentication using LDAP Server
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


You can also try mod_cband module - http://cband.linux.pl