summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/mod/mod_ratelimit.html.en9
-rw-r--r--docs/manual/mod/mod_ratelimit.xml9
2 files changed, 12 insertions, 6 deletions
diff --git a/docs/manual/mod/mod_ratelimit.html.en b/docs/manual/mod/mod_ratelimit.html.en
index 29823f0a7b..98d666fb94 100644
--- a/docs/manual/mod/mod_ratelimit.html.en
+++ b/docs/manual/mod/mod_ratelimit.html.en
@@ -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>
diff --git a/docs/manual/mod/mod_ratelimit.xml b/docs/manual/mod/mod_ratelimit.xml
index d35ed7c6d3..89d38a705f 100644
--- a/docs/manual/mod/mod_ratelimit.xml
+++ b/docs/manual/mod/mod_ratelimit.xml
@@ -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>