Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: mod_perl blocking greedy clients

by randyk (Parson)
on Feb 11, 2006 at 20:59 UTC ( [id://529597]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://529597]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-25 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found