httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cian O'Sullivan" <C...@logic.bm>
Subject RE: [users@httpd] Best bandwidth limiter
Date Tue, 14 Jan 2003 13:22:29 GMT
These are the modules and setup we use.

BADNWITH:

LoadModule bandwidth_module   modules/mod_bandwidth.so
LoadModule throttle_module    modules/mod_throttle.so


LIMIT CONNECTIONS with IP (hostname lookup must be OFF for this to work properly)

LoadModule limitipconn_module /usr/lib/apache/mod_limitipconn.so


HTTPD.CONF Config:

VirtualHost www.foobar.com>
    ServerAdmin webmaster@foobar.com
    DocumentRoot /dump/www/foobar.com/html
    ServerName www.foobar.com
    BandWidthModule On
    BandWidthPulse 1000000
    <Location /restricted/path>
    MaxConnPerIP 2
    </Location>
</VirtualHost>



This goes int he .htaccess file

BandWidth all "20480"
MinBandWidth all "-1"





Hope that helps

-----Original Message-----
From: Kirk Jackson [mailto:kirk@mcs.vuw.ac.nz]
Sent: Monday, January 13, 2003 7:04 PM
To: users@httpd.apache.org
Subject: [users@httpd] Best bandwidth limiter



Hi,

Can anyone advise me on the best bandwidth limiting module for my Apache
1.3 needs?

I'm on a throttled internet connection, and I'm keen to find a module
that will restrict kb/sec for individual IP addresses, and also by page
type (or file extension). I'm keen to keep html / perl pages responsive,
even if someone is downloading large files.

Thanks,

Kirk

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message