f61e0ec21f
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.
16 lines
552 B
Text
16 lines
552 B
Text
===========================================================================
|
|
$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>
|
|
|
|
===========================================================================
|