summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-01-31 19:11:25 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-01-31 19:11:25 +0000
commit10163093c6e8b99f20c20821ba76fe080c6e0598 (patch)
tree1c54d8827b0cc2e33d1f5666e36638069d7271df /www-apache/mod_limitipconn
parentia64/sparc stable wrt #205777 (diff)
downloadhistorical-10163093c6e8b99f20c20821ba76fe080c6e0598.tar.gz
historical-10163093c6e8b99f20c20821ba76fe080c6e0598.tar.bz2
historical-10163093c6e8b99f20c20821ba76fe080c6e0598.zip
cleanup
Package-Manager: portage-2.1.4
Diffstat (limited to 'www-apache/mod_limitipconn')
-rw-r--r--www-apache/mod_limitipconn/ChangeLog8
-rw-r--r--www-apache/mod_limitipconn/files/27_mod_limitipconn.conf18
2 files changed, 14 insertions, 12 deletions
diff --git a/www-apache/mod_limitipconn/ChangeLog b/www-apache/mod_limitipconn/ChangeLog
index 67d958aace2e..5a05ba5df3f0 100644
--- a/www-apache/mod_limitipconn/ChangeLog
+++ b/www-apache/mod_limitipconn/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apache/mod_limitipconn
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_limitipconn/ChangeLog,v 1.2 2007/08/04 17:21:39 swegener Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_limitipconn/ChangeLog,v 1.3 2008/01/31 19:11:24 hollow Exp $
+
+ 31 Jan 2008; Benedikt Böhm <hollow@gentoo.org>
+ files/27_mod_limitipconn.conf:
+ cleanup
29 Jul 2007; Christian Heim <phreak@gentoo.org>
+files/27_mod_limitipconn.conf, +metadata.xml,
diff --git a/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf b/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf
index 049dc7e48ebd..0c3f9d7ed4ae 100644
--- a/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf
+++ b/www-apache/mod_limitipconn/files/27_mod_limitipconn.conf
@@ -1,22 +1,20 @@
<IfDefine LIMITIPCONN>
- <IfModule !mod_limitipconn.c>
- LoadModule limitipconn_module modules/mod_limitipconn.so
- </IfModule>
-</IfDefine>
+LoadModule limitipconn_module modules/mod_limitipconn.so
-<IfModule mod_limitipconn.c>
- <Location /somewhere>
+<Location /somewhere>
MaxConnPerIP 3
# exempting images from the connection limit is often a good
# idea if your web page has lots of inline images, since these
# pages often generate a flurry of concurrent image requests
NoIPLimit image/*
- </Location>
+</Location>
- <Location /mp3>
+<Location /mp3>
MaxConnPerIP 1
# In this case, all MIME types other than audio/mpeg and video*
# are exempt from the limit check
OnlyIPLimit audio/mpeg video
- </Location>
-</IfModule>
+</Location>
+</IfDefine>
+
+# vim: ts=4 filetype=apache