title: When i rewrite my url with .htaccess, i get a 500 internal server error
body: <p>My htaccess file is looking like this:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^([^/]*)$ /index.php?id=$1 [L]
  </code></pre>
  
  <p>i am trying to rewrite:</p>
  
  <p>example.com/index.php?id=foo</p>
  
  <p>to</p>
  
  <p>example.com/foo</p>
  
  <p>this one, as far as i know.. should do the trick, but it gives me an internal server error. i have tried checking the error logs.. but nothing is there, (Dont know if my provider for some reason doesnt show me the logs).</p>
  
  <p>But do any of you know why this is not working? 
  or do you know another solution that could work?</p>
  
  <p>Any help is highly appreciated.</p>