Mod - Bandwidth modThe mod works as an output filter in the apache filters chain.When a user start downloading something, the data goes through the mod. If there is a bandwidth limit, then the mod will start "splitting" the data into smaller pieces. Then it will start sending each piece with a small delay (less than 1 sec) between each piece, thus, reducing the speed the user downloads. This is useful for small web-hosting servers with limited outbound bandwidth (i.e. ADSLs customers). Step 1
root# wget http://bwmod.sourceforge.net/files/mod_bw-0.7.tgz Step 2
root# vi mod_bw.c It help to avoid the bug for next step. root# apxs -i -a -c mod_bw.c To execute the module of mod_bwroot# cat /etc/httpd/conf/httpd.conf |grep mod_bw root# vi /etc/httpd/conf/httpd.conf Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |