From 8a0fea1b1752c7789027231567f5d4c6e1b62d9b Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 22 Apr 2010 20:51:56 +0000 Subject: [PATCH] Working example configuration, thanks to Paul. 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 | 9 ++++++--- docs/manual/mod/mod_ratelimit.xml | 9 ++++++--- 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 @@

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