Overload Protection

Posted by Tyron on Server Fault See other posts from Server Fault or by Tyron
Published on 2014-06-12T13:42:27Z Indexed on 2014/06/12 15:28 UTC
Read the original article Hit count: 150

Filed under:
|
|
|

Is there a simple way how I could redirect a visitor (via .htaccess or PHP script) to a static page when the server is overloaded from too many requests?

It doesn't have to be a protection against huge amounts of requests at once or protect against DoS Attacks. I think our server would be protected enough if we could prevent the standard website to be shown and instead show a single file "overloaded.html".

Also how could I get a measure for a server being overloaded on a typical managed server (= non root access to a Linux server) environment?

© Server Fault or respective owner

Related posts about apache-2.2

Related posts about php