+ -
当前位置:首页 → 问答吧 → linux下mod_bw使用问题请教

linux下mod_bw使用问题请教

时间:2011-07-22

来源:互联网

在apache2.2的httpd-vhosts.conf配置如下:
<VirtualHost *:80>
  DocumentRoot "/www/abc"

  BandWidthModule On
  BandWidth all 1024
  <location /modbw>
SetHandler modbw-handler
</location>
  ProxyPass /js/ !
  ProxyPass / ajp://localhost:8009/
  ProxyPassReverse / ajp://localhost:8009
  ServerName localhost
  ServerAlias www.abc.com
SetEnvIfNoCase Referer "^http://www.abc.com" local_ref=1
<FilesMatch "\.(txt|xls|doc|mp3|zip|rar|jpg|gif|js)">
Order Allow,Deny
Allow from env=local_ref
</FilesMatch>
ErrorLog "|/usr/local/sbin/cronolog /usr/local/apache2/logs/abc/error_log.%Y-%m-%d"
CustomLog "|/usr/local/sbin/cronolog /usr/local/apache2/logs/abc/access_log.%Y-%m-%d" combined
</VirtualHost>

但是使用opera下载文件时,发现速度还是可以达到40k/s,请教各位大大是我的bw_mod配置错了还是有什么问题?

作者: andfind   发布时间: 2011-07-22

补充:mod_bw的版本是0.92

作者: andfind   发布时间: 2011-07-22

怎么没人来解答一下呢?

作者: andfind   发布时间: 2011-07-22

热门下载

更多