Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 93147 invoked from network); 22 Apr 2010 20:52:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Apr 2010 20:52:42 -0000 Received: (qmail 48346 invoked by uid 500); 22 Apr 2010 20:52:42 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 48146 invoked by uid 500); 22 Apr 2010 20:52:41 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 48131 invoked by uid 99); 22 Apr 2010 20:52:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 20:52:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 20:52:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D9D5923889B8; Thu, 22 Apr 2010 20:51:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937055 - in /httpd/httpd/trunk/docs/manual/mod: mod_ratelimit.html.en mod_ratelimit.xml Date: Thu, 22 Apr 2010 20:51:56 -0000 To: cvs@httpd.apache.org From: rbowen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100422205156.D9D5923889B8@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rbowen Date: Thu Apr 22 20:51:56 2010 New Revision: 937055 URL: http://svn.apache.org/viewvc?rev=937055&view=rev Log: Working example configuration, thanks to Paul. Modified: httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.xml Modified: httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en?rev=937055&r1=937054&r2=937055&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.html.en Thu Apr 22 20:51:56 2010 @@ -30,11 +30,14 @@

Summary

-

Provides a rate_limit filter to limit client bandwidth.

+

Provides a rate_limit filter to limit client bandwidth. +The connection speed to be simulated is specified, in kb/s, using the environment +variable rate-limit.

-

+

Example Configufation

<Location /downloads>
-SetHandler rate_limit
+SetHandler RATE_LIMIT
+SetEnv rate-limit 400 </Location>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.xml?rev=937055&r1=937054&r2=937055&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_ratelimit.xml Thu Apr 22 20:51:56 2010 @@ -33,11 +33,14 @@ the document to validate. --> -

Provides a rate_limit filter to limit client bandwidth.

+

Provides a rate_limit filter to limit client bandwidth. +The connection speed to be simulated is specified, in kb/s, using the environment +variable rate-limit.

- +Example Configufation <Location /downloads>
-SetHandler rate_limit
+SetHandler RATE_LIMIT
+SetEnv rate-limit 400 </Location>