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
commit758c8964dfba6c0d5a0a1d2334dbcd4c87ff2723 (patch)
tree8db695d8e39eef6a71f4677d26ae47d048e81191 /www-apache
parentupdate metadata; cleanup (diff)
downloadgentoo-2-758c8964dfba6c0d5a0a1d2334dbcd4c87ff2723.tar.gz
gentoo-2-758c8964dfba6c0d5a0a1d2334dbcd4c87ff2723.tar.bz2
gentoo-2-758c8964dfba6c0d5a0a1d2334dbcd4c87ff2723.zip
cleanup
(Portage version: 2.1.4)
Diffstat (limited to 'www-apache')
-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