[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#269019: apache: mod_bandwidth does not work



On Monday 30 August 2004 13:58, you wrote:
> tag 269019 moreinfo
> stop
>
> On Mon, 30 Aug 2004, Claudio Moratti wrote:
> > Package: apache
> > Version: 1.3.31-4
> > Severity: normal
>
> Can you be more specific? provide config files? logs? anything?
>
Hi!
The module included in the official package does not work: it does not accept 
some directives (like MaxConnection) and it does not reduce the bandwidth; 
when I set a limit, this is read as bit and not as Byte (for example, if i 
set 'MaxBandwidth 1024' it would mean a limit of 1 Kbyte, but the module 
interprets it like 1024/8 Kbyte...)!

I resolved all rebuilding the official module...

Config files:
in /etc/apache/httpd.conf there are these directives:
BandWidthModule On
BandWidth localhost 0
BandWidth 192.168.0 0
BandWidth all 25000

in one virtualhost:
                BandWidth localhost 0
                BandWidth 192.168.0.1 0
                BandWidth 80.183.201.78 0
                BandWidth all 25600k
                MaxConnection 2


if I use the package's module, apache does not start, and says that the 
directive `MaxConnection ` is not correct. 
If I recompile the module, everything works fine!

Log:
Nothing in logs...

> Fabio
Ciao!

Claudio



Reply to: