3 steps to protect Webserver against DoS?

Hi, there are 3 steps on how to protect against Denial of Service attack on a webserver:

  • limiting the number of requests that a server will accept from a single IP address in a fixed time frame

  • lowering the minimum transfer rate of a single connection

  • reducing the connection time from a single client

Please can you write ideas on how to apply these protections on basic Apache webserver? I think these are really basics

I think there are apache mods that will do this for you, since this is very basic.

Along with Neo's suggestion you may go through .htaccess

Apache HTTP Server Tutorial: .htaccess files - Apache HTTP Server