title: htaccess rewrite everything but index and root
body: <p>I'm trying to set up a site that forwards everything but the root directory and index into a variable. I have the htaccess file set up like this right now:</p>
  
  <pre><code>Options +FollowSymlinks
  RewriteEngine on
  
  RewriteRule -(.*)$ http://blah.com/blah.php?name=$1 [R,NC]
  </code></pre>
  
  <p>just so that the index works and anything that starts with a hyphen(-) is rewritten</p>
  
  <p>I would like to be able to have anything that isn't the index file rewritten, and still allow the index file be accessed via blah.com and blah.com/</p>
  
  <p>Any ideas?</p>