[CentOS] mod_bandwidth

Thu Jan 29 08:15:45 UTC 2009
David Hrbáč <hrbac.conf at seznam.cz>

Michael A. Peters napsal(a):
> Is there a compiled mod_bandwidth rpm in CentOS or EPEL?
> 
> I can't seem to find it, what name does it use if there is one?
> 
> Basically all I need to do is find a way to severely throttle apache for 
> testing an upload progress bar - my bandwidth on my lan is too fast, the 
> progress bar either only gets one update or none by the time the files 
> are uploaded (5 8 megapixel jpegs) - even when I use my laptop over 
> wireless - so I need to limit the bandwidth apache accepts severely to 
> simulate real world conditions.
> 
> I assume mod_bandwidth can limit the post bandwidth as well (what apache 
> eats)?

Hi,
mod_bandwidth is for Apache 1.x only, so there's no rpm for Centos 4/5.
You have to use some other module, like mod_{bw,bwshare,cband}, etc. See:

http://fs12.vsb.cz/hrb33/el4/hrb/stable/i386/repodata/repoview/M.group.html
http://fs12.vsb.cz/hrb33/el4/hrb/stable/x86_64/repodata/repoview/M.group.html
http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repodata/repoview/M.group.html
http://fs12.vsb.cz/hrb33/el5/hrb/stable/x86_64/repodata/repoview/M.group.html

Regards,
David Hrbáč