title: A mod_rewrite rule to map all paths to index.php
body: <p>I have a script at www.mydomain.com/mydirectory/index.php. I want to map all requests to subdirectories of mydirectories to the script. For instance, www.mydomain.com/mydirectory/mypath/ should be rewritten to www.mydomain.com/mydirectory/index.php/mypath/</p>
  
  <p>How can I accomplish this? Thanks.</p>