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_limitipconn/files: 27_mod_limitipconn.conf
Date: Thu, 31 Jan 2008 19:11:28
Message-Id: E1JKeoo-0002iz-1S@stork.gentoo.org
1 hollow 08/01/31 19:11:26
2
3 Modified: 27_mod_limitipconn.conf
4 Log:
5 cleanup
6 (Portage version: 2.1.4)
7
8 Revision Changes Path
9 1.2 www-apache/mod_limitipconn/files/27_mod_limitipconn.conf
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf?r1=1.1&r2=1.2
14
15 Index: 27_mod_limitipconn.conf
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- 27_mod_limitipconn.conf 29 Jul 2007 14:57:18 -0000 1.1
22 +++ 27_mod_limitipconn.conf 31 Jan 2008 19:11:25 -0000 1.2
23 @@ -1,22 +1,20 @@
24 <IfDefine LIMITIPCONN>
25 - <IfModule !mod_limitipconn.c>
26 - LoadModule limitipconn_module modules/mod_limitipconn.so
27 - </IfModule>
28 -</IfDefine>
29 +LoadModule limitipconn_module modules/mod_limitipconn.so
30
31 -<IfModule mod_limitipconn.c>
32 - <Location /somewhere>
33 +<Location /somewhere>
34 MaxConnPerIP 3
35 # exempting images from the connection limit is often a good
36 # idea if your web page has lots of inline images, since these
37 # pages often generate a flurry of concurrent image requests
38 NoIPLimit image/*
39 - </Location>
40 +</Location>
41
42 - <Location /mp3>
43 +<Location /mp3>
44 MaxConnPerIP 1
45 # In this case, all MIME types other than audio/mpeg and video*
46 # are exempt from the limit check
47 OnlyIPLimit audio/mpeg video
48 - </Location>
49 -</IfModule>
50 +</Location>
51 +</IfDefine>
52 +
53 +# vim: ts=4 filetype=apache
54
55
56
57 --
58 gentoo-commits@l.g.o mailing list