title: RewriteRule creating 500 Internal Server Error
body: <p>I have the following in my <code>.htaccess</code> file:</p>
  <pre><code>Options +FollowSymLinks
  RewriteEngine on
  RewriteRule ^directory/(.*)$ directory/index.php?id=$1
  </code></pre>
  <p>What I'm trying to achieve is this:</p>
  <p>When the URL <code>www.example.com/directory/10</code> is visited, the page <code>www.example.com/directory/?id=10</code> is displayed on the browser without altering the appearance of the URL.</p>
  <p>The above code creates a 500 Internal server error though.</p>
  <p>Does anyone know where I'm going wrong?</p>