in reply to mod_perl blocking greedy clients

Just above the listing where you got the source for the module, there's a sample set of Apache configuration directives on how to use it:
<Location /> PerlAccessHandler Apache::SpeedLimit # max 20 accesses/minute PerlSetVar SpeedLimit 20 # 5 hits before doing statistics PerlSetVar SpeedSamples 5 # amnesty after 30 minutes PerlSetVar SpeedForgive 30 </Location>

Replies are listed 'Best First'.
Re^2: mod_perl blocking greedy clients
by Anonymous Monk on Feb 11, 2006 at 22:31 UTC
    I saw that code from the few lines above but it doesn't say where to apply it. What configuration file? Sorry, I'm lost.

      Apache configuration directives traditionally go in the Apache configuration file, unsurprisingly.

      I recommend you understand the code you intend on using and read the Apache documentation before implementing any changes.


      If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
      That way everyone learns.

        Sorry I don't know anything about any of this, I pay for hosting and don't do anything myself. All I know is stuff I can do in cpanel.