summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www/mod_bw/files/11_mod_bw.conf')
-rw-r--r--net-www/mod_bw/files/11_mod_bw.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-www/mod_bw/files/11_mod_bw.conf b/net-www/mod_bw/files/11_mod_bw.conf
new file mode 100644
index 000000000000..279e7b2d260b
--- /dev/null
+++ b/net-www/mod_bw/files/11_mod_bw.conf
@@ -0,0 +1,21 @@
+<IfDefine BW>
+ <IfModule !mod_bw.c>
+ LoadModule bw_module modules/mod_bw.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_bandwidth.c>
+ # This must be turned on for mod_bandwidth to actually do anything
+ # These directives can go inside a VirtualHost or Directory, etc...
+ #
+ # BandWidthModule On
+
+ # Limit 196.168.0.0/24 to 80KB/sec, with a minimum of 60KB/sec
+ #
+ # BandWidth 196.168.0 80000
+ # BandWidth 196.168.0 60000
+
+ # Everyone else shares 50KB/sec
+ #
+ # Bandwidth all 50000
+</IfModule>