Step.0
#su -
Step.1
#apt-get install libapache2-mod-bw
Step.2
#cd /etc apache2/mods-enabled
Step.3
#ln -s ../mods-available/bw.load bw.load
Step.4
#cd ../sites-enabled/
Step.5
#vi 000-default
<VirtualHost *:80>
DocumentRoot "/home/movie"
ServerName xxx.com
BandWidthModule On
ForceBandWidthModule On
Bandwidth all 1024000
<Directory /home/abc>
Options....
...etc
</Directory>
</VirtualHost>
Step.6
#/etc/init.d/apache2 restart
全站熱搜
留言列表