From: Rich Bowen Date: Thu, 22 Apr 2010 20:51:56 +0000 (+0000) Subject: Working example configuration, thanks to Paul. X-Git-Tag: 2.3.6~164 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a0fea1b1752c7789027231567f5d4c6e1b62d9b;p=apache Working example configuration, thanks to Paul. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@937055 13f79535-47bb-0310-9956-ffa450edef68 --- 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 @@

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>

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. --> -

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>