[users@httpd] Concurrent Connecting Module - Directory Level

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

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux