httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
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 GMT
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 @@
 <h3>Summary</h3>
 
 
-<p>Provides a <code>rate_limit</code> filter to limit client bandwidth.</p>
+<p>Provides a <code>rate_limit</code> filter to limit client bandwidth.

+The connection speed to be simulated is specified, in kb/s, using the environment 
+variable <code>rate-limit</code>.</p>
 
-<div class="example"><p><code>
+<div class="example"><h3>Example Configufation</h3><p><code>
 &lt;Location /downloads&gt;<br />
-SetHandler rate_limit<br />
+SetHandler RATE_LIMIT<br />
+SetEnv rate-limit 400 
 &lt;/Location&gt;
 </code></p></div>
 

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. -->
 
 <summary>
 
-<p>Provides a <code>rate_limit</code> filter to limit client bandwidth.</p>
+<p>Provides a <code>rate_limit</code> filter to limit client bandwidth.

+The connection speed to be simulated is specified, in kb/s, using the environment 
+variable <code>rate-limit</code>.</p>
 
-<example>
+<example><title>Example Configufation</title>
 &lt;Location /downloads&gt;<br />
-SetHandler rate_limit<br />
+SetHandler RATE_LIMIT<br />
+SetEnv rate-limit 400 
 &lt;/Location&gt;
 </example>
 



Mime
View raw message