ir: /path/to/doc_root
</code></pre>
</div>


<p>
In the example, the handler you get by calling <code>acl</code> method will do the following:
<ul>
  <li>
    if the remote IP address is exactly equal to "127.0.0.1", the request will be delegated to the next handler (i.e. serve files under /path/to/doc_root) and all following acl settings are ignored
  </li>
  <li>
    otherwise, if the user agent string includes "curl" and the remote IP address doesn't start with "192.168.", this handler immediately return