Cisco认证:apache限制带宽
来源:优易学  2011-9-25 17:11:09   【优易学:中国教育考试门户网】   资料下载   IT书店
  ———————————————————————————————-
  限制带宽:
  下载模块 ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c
  安装:
  /usr/local/apache/bin/apxs -c ./mod_bandwidth.c -o /usr/local/apache/libexec/mod_bandwidth.so
  <——-以上/usr/local/apache请设置为你的路径
  编辑httpd.conf
  添加:
  LoadModule bandwidth_module libexec/mod_bandwidth.so
  AddModule mod_bandwidth.c
  重启你的apache
  相关文档:
  Global configuration directives :
  BandWidthDataDir
  Syntax : BandWidthDataDir
  Default : “/tmp/apachebw”
  Context : server config
  Sets the name of the root directory used by mod_bandwidth to store its internal temporary information. Don’t forget to create the needed directories : /master and /link
  BandWidthModule
  Syntax : BandWidthModule

责任编辑:小草

文章搜索:
 相关文章
热点资讯
热门课程培训