summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2010-04-22 22:51:56 +0200
committerRich Bowen <rbowen@apache.org>2010-04-22 22:51:56 +0200
commit8a0fea1b1752c7789027231567f5d4c6e1b62d9b (patch)
tree713db7e5cc75637fbd82b7a46c04be1337d3da71 /docs
parentAdding a missing <br />. No more commits after half past three. (diff)
downloadapache2-8a0fea1b1752c7789027231567f5d4c6e1b62d9b.tar.xz
apache2-8a0fea1b1752c7789027231567f5d4c6e1b62d9b.zip
Working example configuration, thanks to Paul.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@937055 13f79535-47bb-0310-9956-ffa450edef68
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>