title: .htaccess Redirect to script in subdirectory
body: <p>I need to have a .htaccess rewrite rule redirect to a script in the root of a subdirectory, but only for any files/directories in that sub directory...</p>
  
  <pre><code>/
  /subdir/
     /index.php
     /somedir/
     /anotherdir/
  </code></pre>
  
  <p>For the structure above, I want anyone browsing to /subdir to go to /subdir/index.php, and anyone going to /subdir/somedir/ to /subdir/index.php etc...</p>
  
  <p>If however, they go to the root directory. they should stay there... I've tried putting an .htaccess file in /subdir with a bunch of attempts at rewrite rules but so far none work.</p>
  
  <p><strong>update:</strong> I don't mean just the <em>/somedir/</em> needs to redirect ot index.php, but any subdirectory of <em>/subdir/</em> needs to be redirect... Scripts too, but obviously not <em>/subdir/index.php</em></p>
  
  <p>Sorry I wasn't clear before.</p>