使用wdcp網站環境下, 如何安裝mod-bw插件
wdcp的apache 目錄:/www/wdlinux/httpd-2.4.23
-------------------------------------------------------------------------
安裝步驟
1.解壓軟件 tar xf mod_bw-0.92.tgz
2.將文件 mod_bw.c 中remote_addr替換client_addr
3./www/wdlinux/httpd-2.4.23/bin/apxs -i -c -a mod_bw.c
4.在httpd.conf文件中添加
<Directory />
BandWidthModule On
ForceBandWidthModule On
BandWidth all 3200000
MinBandWidth all 150000
MaxConnection all 300
</Directory>
5.重啓apache