Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a project that I want to throttle the speed on specify mime types, these mime types are as follows:

  • application/x-rar-compressed .zip
  • application/zip .rar

So my question is straight forward, is it possible to throttle specify mime types in Apache? and if this is the case how do I go about and make this happen.

share|improve this question

migrated from webmasters.stackexchange.com Apr 15 '13 at 18:58

This question came from our site for pro webmasters.

1 Answer 1

mod_bw allows limiting speed per Filetype:

<Virtualhost *>
BandwidthModule On
ForceBandWidthModule On
LargeFileLimit .avi 1 20000
LargeFileLimit .mpg 1 20000
Servername www.example.com

Unfortunately the main site doesnt seem to be maintained anymore, but depending on the distribution you're using it should be trivial to install it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.