httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cody Harris" <qbasi...@gmail.com>
Subject [users@httpd] Concurrent Connecting Module - Directory Level
Date Thu, 23 Mar 2006 03:25:06 GMT
Hello Apache People!

I'm running Apache 1.3.33 on Slackware 10.2 (2.4.31).  I have
mod_throttle installed for virtual host total bandwith limiting,
mod_bandwidth installed for speed reductions and global connection
limiting, and am looking for a solution to limit the maximum number of
conncurrent connections from an IP on the Directory and File level.

I was hoping mod_choke would do the job, however, the
MaxConnectionsPerUser directive is only valid in the vhost and server
config contexts.  This is the solution I'm trying to solve:

The server I am administrating is temporarily on a slow connection, so
I have to limit the maximum download speed to 1/3 of the possible
bandwidth.  Unfortunatly, the purpose of the server is for letting
others download mp3s from this record label's server, so the maximum
allowed concurrent connections to mp3s is 2.

I'm trying to limit it further so that it's 3 globally downloading
mp3s at once and only allowing one download of an mp3 from a single
IP.  mod_choke sounds like it'd do the job...if I could use it in the
file/directory context.  Creating a separate vhost is out of the
question because producers are allowed to upload mp3s whereever they
want.

Thanks in advance,
Cody Harris
--
Website: http://vectec.net
Forums: http://vectec.net/forums

---------------------------------------------------------------------
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