下载模块: ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c
官方网址: http://www.coh**pro*g.com/mod_bandwidth.html
安装方法
1、APACI 安装
cp mod_bandwidth.c /path/to/apache/source
./configure --add-module=mod_bandwidth.c --permute-module=BEGIN:bandwidth
2、DSO方式安装
apxs -c /mod_bandwidth.c -o /path/to/apache/libexec/mod_bandwidth.so
在httpd.conf加入
LoadModule bandwidth_module libexec/mod_bandwidth.so
AddModule mod_bandwidth.c
建立mod_bandwidth工作目录
mkdir -p /tmp/apachebw/link
mkdir -p /tmp/apachebw/master
chown -R nobody:nobody /tmp/apachebw
chmod -R 755 /tmp/apachebw
配置:
BandWidthModule On
BandWidthPulse 1000000 单位毫秒
BandWidth all 2048 单位bytes/sec #该目录下所有文件都按照2048bytes/sec速率传输
LargeFileLimit 100 1024 #大于100k的文件传输速率按1024bytes/sec
MaxConnection 1000 #最大同时连接数量
韩剧再婚皇后阿里云盘全集高清1080P资源链接-韩剧再婚皇后免费阿里云盘资源下载4K高清无删减版链接
poipiku网站如何打开-poipiku官网网页版访问入口
明日方舟:终末地-云游戏畅玩入口-明日方舟:终末地-网页版在线直连地址
poki在线小游戏网页版-poki免费游戏大全入口
poki游戏入口-点开即玩-poki游戏-在线免费畅玩
原神akt大佬资源viciNeko入口链接-原神akt大佬资源网页vicineko入口链接分享