Monday, July 11, 2011

Limit Bandwidth per vHost in Apache2 ( Ubuntu, Debian )

If someone download at full speed some large file on my web server, my internet connection become unusable.
To avoid this, I start to ask my friends to use a download manager to limit their download speed... but it's somewhat far too tricky for a lot of them...

This HowTo somehow is Debian and Ubuntu specific, although the configuration of the module will work the same for all *nix distributions. It will illustrate how to limit bandwidth on a vHost basis using the Bandwidth Mod by Ivan Barrera written for the Summer Of Code event. First of all you will have to install the libapache2-mod-bw package on your system.

Here is a quick way to limit the bandwidth used by Apache :

Install & enable (on Ubuntu or Debian):

Read more http://blogmee.info/index.php/limit-bandwidth-per-vhost-in-apache2-ubuntu-debian/

No comments:

Post a Comment