Apache/Bandwidth/Concurrent
System InformationI'm running Apache 1.3.33 on Slackware Linux. I have mod_throttle and mod_bandwidth installed.
Setup
We're running multiple VHOSTs from a single residential connection (upgrading soon to SDSL). The problem is the upstream speed is limited to 32KB/s. There are a lot of .mp3s being transferred (legal ones, before you say anything), so a single unthrottled connection can render the box unreachable by others.
Solution so far
I have limited the global connection speed to 10KB/s via mod_bandwidth so that other services (ftp/ssh) can be used. I have using mod_bandwidth limited the maximum amount of .mp3 files being downloaded concurrently to 4.
The Question
I want to limit each user to only downloading one .mp3 at a time. The mod_throttle documentation states that you can't mix ThrottleClientIP and Concurrent policies together. My question is, how can I limit each IP to only one download of a .mp3? My current block looks like this:
<Files ~ ".mp3">
MaxConnection 4
</Files>
MaxConnection 4
</Files>