EasyApache Bandwidth Module
The module used for limiting bandwidth usage differs depending on the branch of apache you are using. The modules that are used are:
- Apache 1.3.x – mod_bandwidth – fromĀ http://www.cohprog.com/mod_bandwidth.html
- Apache 2.x – mod_bw – fromĀ http://apache.ivn.cl/
Both Apache branches use /scripts/setbwlimit to modify the bandwidth limits for specific virtualhosts. See /scripts/setbwlimit –help (after you compile Apache with the module) for more information.
Command
1 |
/scripts/setbwlimit --domain=domain-you-want-to-limit.com --limit=1024000 |
‘limit’ is bytes/sec you want to setup (hint 1024 = 1kb)
Di tulis oleh: admin