The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Repost: Apache1 and mod_throttle troubles, help? by Freakazoid2006-11-19 12:55:59
  Not tried it myself but... by wheresthefish 2002-06-22 14:14:22
having looked at the linked page nad my copy of httpd.conf, I'd try adding the suggested block:

<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>
</IfModule>
Stick this in httpd.conf so it appears as a top-level request (ie, outside of any other blocks).

It looks like user numbers are controlled using ThrottleClientIP, so try adding this just below ThrottlePolicy in the above block. For four users, I'd say you probably need a size of four IP's, policy should be "Volume" (probably without the quotes), limit "5K", period "1S". Therefore the line should come out as:
ThrottleClientIP 4 Volume 5K 1S

Give it a go, it can only break your computer horribly leaving you with a smouldering heap of burnt silicon...
[ Reply ]
    nad? by wheresthefish2002-06-22 14:14:54
    Doesn't work by Freakazoid2002-06-22 14:35:25
      Hrm... mod_throttle is in fact installed... by Freakazoid2002-06-22 14:42:00
      You tried... by wheresthefish2002-06-22 14:53:45
        GRR, still doesn't work. by Freakazoid2002-06-22 15:13:29

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)