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
1 hollow 08/01/31 17:19:02
2
3 Modified: 11_mod_bw.conf
4 Log:
5 update metadata; cleanup
6 (Portage version: 2.1.4)
7
8 Revision Changes Path
9 1.2 www-apache/mod_bw/files/11_mod_bw.conf
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_bw/files/11_mod_bw.conf?rev=1.2&view=markup
12 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
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_bw/files/11_mod_bw.conf?r1=1.1&r2=1.2
14
15 Index: 11_mod_bw.conf
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_bw/files/11_mod_bw.conf,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- 11_mod_bw.conf 29 Jul 2007 14:34:52 -0000 1.1
22 +++ 11_mod_bw.conf 31 Jan 2008 17:19:01 -0000 1.2
23 @@ -1,21 +1,16 @@
24 <IfDefine BW>
25 - <IfModule !mod_bw.c>
26 - LoadModule bw_module modules/mod_bw.so
27 - </IfModule>
28 -</IfDefine>
29 +LoadModule bw_module modules/mod_bw.so
30 +
31 +# This must be turned on for mod_bandwidth to actually do anything
32 +# These directives can go inside a VirtualHost or Directory, etc...
33 +#BandWidthModule On
34
35 -<IfModule mod_bw.c>
36 - # This must be turned on for mod_bandwidth to actually do anything
37 - # These directives can go inside a VirtualHost or Directory, etc...
38 - #
39 - # BandWidthModule On
40 +# Limit 196.168.0.0/24 to 80KB/sec, with a minimum of 60KB/sec
41 +#BandWidth 196.168.0 80000
42 +#BandWidth 196.168.0 60000
43
44 - # Limit 196.168.0.0/24 to 80KB/sec, with a minimum of 60KB/sec
45 - #
46 - # BandWidth 196.168.0 80000
47 - # BandWidth 196.168.0 60000
48 +# Everyone else shares 50KB/sec
49 +#Bandwidth all 50000
50 +</IfDefine>
51
52 - # Everyone else shares 50KB/sec
53 - #
54 - # Bandwidth all 50000
55 -</IfModule>
56 +# vim: ts=4 filetype=apache
57
58
59
60 --
61 gentoo-commits@l.g.o mailing list