title: Simple rate limiting in .htaccess
body: <p>Let's say I have a login <code>form</code>:</p>
  
  <pre><code>&lt;form action="index.php" method="post"&gt;&lt;input type="password" name="pwd"&gt;&lt;input type="submit" /&gt;
  </code></pre>
  
  <p>I know that a proper rate-limiting should be done with <code>iptables</code> or <code>fail2ban</code>, but without going so far, can we do something simple, just in the <code>.htaccess</code>:</p>
  
  <ul>
  <li>Limit the IP for 24 hours if there has been >= 10 requests to this page during the last minute</li>
  </ul>
  
  <p><strong>Can something like this be done with <code>.htaccess</code> (or <code>apache2.conf</code>) only and no other third-party tool (an Apache module is ok)?</strong></p>