]> granicus.if.org Git - apache/commitdiff
Working example configuration, thanks to Paul.
authorRich Bowen <rbowen@apache.org>
Thu, 22 Apr 2010 20:51:56 +0000 (20:51 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 22 Apr 2010 20:51:56 +0000 (20:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@937055 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_ratelimit.html.en
docs/manual/mod/mod_ratelimit.xml

index 29823f0a7b09385459fffe8c5aca711df9b44fba..98d666fb94b59ecc97a6b085ebc7cbd55cf24e15 100644 (file)
 <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>
 
index d35ed7c6d3411030ae4982ff6d8526e37858be5d..89d38a705f78e3b1915c1b5a52d2c93a744f5e19 100644 (file)
@@ -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>