2

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.

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

This question came from our site for pro webmasters.

0

mod_bw allows limiting speed per Filetype:

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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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