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_cband/files: 10_mod_cband.conf
Date: Thu, 31 Jan 2008 17:24:45
Message-Id: E1JKd9V-0000ek-UR@stork.gentoo.org
hollow      08/01/31 17:24:41

  Modified:             10_mod_cband.conf
  Log:
  cleanup
  (Portage version: 2.1.4)

Revision  Changes    Path
1.3                  www-apache/mod_cband/files/10_mod_cband.conf

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_cband/files/10_mod_cband.conf?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_cband/files/10_mod_cband.conf?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_cband/files/10_mod_cband.conf?r1=1.2&r2=1.3

Index: 10_mod_cband.conf
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_cband/files/10_mod_cband.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- 10_mod_cband.conf	16 Mar 2006 17:51:54 -0000	1.2
+++ 10_mod_cband.conf	31 Jan 2008 17:24:41 -0000	1.3
@@ -4,39 +4,34 @@
 # /usr/share/doc/mod_cband-*/
 
 <IfDefine CBAND>
-	<IfModule !mod_cband.c>
-		LoadModule cband_module modules/mod_cband.so
-	</IfModule>
-</IfDefine>
+LoadModule cband_module modules/mod_cband.so
+
+<Location /cband-status>
+	SetHandler cband-status
+</Location>
 
-<IfModule mod_cband.c>
+# Some defaults:
+#CBandDefaultExceededURL http://www.google.com
+#CBandScoreFlushPeriod 100
 
-	<Location /cband-status>
-		SetHandler cband-status
-	</Location>
+# And in virtual host configuration to limit it's speed:
+#<VirtualHost *:80>
+#	DocumentRoot /var/www/example.com/htdocs
+#	ServerName www.example.com
+#	<IfModule mod_cband.c>
+#		CBandLimit 600M
+#		CBandExceededURL http://www.example.com/ex1.html
+#		CBandScoreboard /var/run/mod_cband.example.com.scoreboard
+#		CBandPeriod 200S
+#
+#		# 100kb/s, 10 request/s, max 5 connections
+#		CBandSpeed 100kb 10 5
+#
+#		# 10kb/s, 3 request/s -> speed limit for any remote client, max 5 connections
+#		CBandRemoteSpeed 10kb/s 3 5
+#	</IfModule>
+#</VirtualHost>
 
-	## Some defaults:
-	#
-	# CBandDefaultExceededURL http://www.google.com
-	# CBandScoreFlushPeriod 100
-	#
-	## And in virtual host configuration to limit it's speed:
-	#
-	# <VirtualHost *:80>
-	# 	DocumentRoot /var/www/example.com/htdocs
-	# 	ServerName www.example.com
-	# 	<IfModule mod_cband.c>
-	# 		CBandLimit 600M
-	# 		CBandExceededURL http://www.example.com/ex1.html
-	# 		CBandScoreboard /var/run/mod_cband.example.com.scoreboard
-	# 		CBandPeriod 200S
-	#
-	# 		# 100kb/s, 10 request/s, max 5 connections
-	# 		CBandSpeed 100kb 10 5
-	#
-	# 		# 10kb/s, 3 request/s -> speed limit for any remote client, max 5 connections
-	# 		CBandRemoteSpeed 10kb/s 3 5
-	# 	</IfModule>
-	# </VirtualHost>
+</IfDefine>
 
-</IfModule>
+# vim: ts=4 filetype=apache



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