title: htaccess rewrite rule for serving index.php from parent directory
body: <p>I am looking for .htaccess rewrite rule that will map the following</p>
  
  <pre><code>GET /a/       =&gt; a/index.php
  GET /a/b/     =&gt; a/b/index.php
  GET /a/b/c/   =&gt; a/b/index.php
  </code></pre>
  
  <p>Basically, if an index.php file is present in a directory it should be served. If not, then it should look in the parent directory for index.php and serve that. </p>
  
  <p>I'm trying to get clean URLs in PHP without having to route everything through a single index.php file.</p>