mod_throttle/3.1.2

S2S-Robert said:
Does anybody have any experience with this mod? And how would I go about recompiling apache with this mod in it?

http://www.snert.com/Software/mod_throttle/

(placed a bit of information in the how-to guide you oposted in regarding this ;) )

From looking at the guide basically modify your configure file with da custom apache build system and add this:

--disable-shared=throttle \
--add-module=(path to)/mod_throttle-3.1/mod_throttle.c \

with your other configure options.

add:

<IfModule mod_throttle.c>
ThrottlePolicy none

<Location /throttle-status>
SetHandler throttle-status
</Location>

<Location /throttle-me>
SetHandler throttle-me
</Location>

<Location /~*/throttle-me>
SetHandler throttle-me
</Location>
into your httpd.conf and restart apache

# service httpd stop
# service httpd start


now there should be something there im assuming... also throttle-me?

The remainder of the usage (should be placed within the vhosts) is shown on the page... best way to find out backup the vhost httpd.conf and play around with a test account :)

Chris
 
Back
Top