summaryrefslogtreecommitdiff
path: root/www/ap-throttle/MESSAGE
diff options
context:
space:
mode:
authorgrant <grant>2003-02-16 11:19:03 +0000
committergrant <grant>2003-02-16 11:19:03 +0000
commit01565c26c970ce54d3b67c7424ae2e2bfab51023 (patch)
treec745e1a6487d0aec11ef5aed2fbc94d0fc76c7b6 /www/ap-throttle/MESSAGE
parent558a96c35892ce6422c67fe43b4b3f509ef5cf11 (diff)
downloadpkgsrc-01565c26c970ce54d3b67c7424ae2e2bfab51023.tar.gz
Initial import of ap-throttle-3.1.2 into The NetBSD packages collection.
mod_throttle allows throttling of connections to the Apache web server. It uses System V shared memory and semaphores to implement the state information. Provided by Eric Schnoebelen in PR pkg/20290, with some changes by me.
Diffstat (limited to 'www/ap-throttle/MESSAGE')
-rw-r--r--www/ap-throttle/MESSAGE16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/ap-throttle/MESSAGE b/www/ap-throttle/MESSAGE
new file mode 100644
index 00000000000..39707f99a48
--- /dev/null
+++ b/www/ap-throttle/MESSAGE
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2003/02/16 11:19:03 grant Exp $
+
+In order to use this module in your Apache installation, you need to
+add the following to your httpd.conf file:
+
+ LoadModule throttle_module lib/httpd/mod_throttle.so
+
+ # throttle htdocs to 100k/sec
+ <Directory ${PREFIX}/share/httpd/htdocs>
+ <IfModule mod_throttle.c>
+ ThrottlePolicy Speed 100k 1
+ </IfModule>
+ </Directory>
+
+===========================================================================