Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/mod_bw/files: 11_mod_bw.conf
Date: Thu, 31 Jan 2008 17:19:04
Message-Id: E1JKd42-0000Vz-Gc@stork.gentoo.org
hollow      08/01/31 17:19:02

  Modified:             11_mod_bw.conf
  Log:
  update metadata; cleanup
  (Portage version: 2.1.4)

Revision  Changes    Path
1.2                  www-apache/mod_bw/files/11_mod_bw.conf

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_bw/files/11_mod_bw.conf?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_bw/files/11_mod_bw.conf?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_bw/files/11_mod_bw.conf?r1=1.1&r2=1.2

Index: 11_mod_bw.conf
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_bw/files/11_mod_bw.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 11_mod_bw.conf	29 Jul 2007 14:34:52 -0000	1.1
+++ 11_mod_bw.conf	31 Jan 2008 17:19:01 -0000	1.2
@@ -1,21 +1,16 @@
 <IfDefine BW>
-  <IfModule !mod_bw.c>
-    LoadModule bw_module             modules/mod_bw.so
-  </IfModule>
-</IfDefine>
+LoadModule bw_module modules/mod_bw.so
+
+# This must be turned on for mod_bandwidth to actually do anything
+# These directives can go inside a VirtualHost or Directory, etc...
+#BandWidthModule On
 
-<IfModule mod_bw.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
 
-  # 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
+</IfDefine>
 
-  # Everyone else shares 50KB/sec
-  #
-  # Bandwidth all 50000
-</IfModule>
+# vim: ts=4 filetype=apache



-- 
gentoo-commits@l.g.o mailing list