juretta.com

Apache2: mod_bandwidth

November 25, 2005
Tags: Webdev

<IfModule mod_bandwidth.c>
    BandWidthModule On
    # BandWidth [From] [bytes/s]
    # [From: full host, part of a domain, an ip address, a network mask (i.e 192.168.0.0/24 or 192.168.0.0/255.255.255.0) or all.
            BandWidth all 8000
    # ISDN 64 kbit/s => 8 kB/s
    #LargeFileLimit * 500 4096
    # Example
    # LargeFileLimit .avi 500 10240
    # This limits .avi files over (or equal to) 500kb to 10kbytes/s
</IfModule>

Ref:

[1]: http://www.ivn.cl/apache/bw_mod-0.6.txt

[2]: http://www.ivn.cl/apache/#bandwidth


About

This is the defunct blog of Stefan Saasen.