PDA

View Full Version : mod_throttle/3.1.2


S2S-Robert
01-11-2004, 05:17 PM
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/

ProWebUK
01-12-2004, 04:26 AM
Originally posted by S2S-Robert
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>
[QUOTE]

into your httpd.conf and restart apache

[QUOTE]
# service httpd stop
# service httpd start



http://www.mydomain.com/throttle-status


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

ProWebUK
02-03-2004, 06:19 PM
Will more than likely give this a go tomorrow.

Chris

sander815
06-17-2004, 12:44 AM
chris, did you already have time to look into this, and make some howto?

CooLMaN
06-27-2004, 06:10 AM
if some one will make an howto it will be awesome!

thanks,
gil.