title: htaccess - internet server error 500 on XAMPP
body: <p>I am trying to run script on XAMPP but get "internet server error 500".  Its fine when running on the live server.  I assume this is a .htaccess error.  The htaccess code is below:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine on
      RewriteRule    ^$    public/    [L]
      RewriteRule    (.*) public/$1    [L]
   &lt;/IfModule&gt;
  </code></pre>
  
  <p>I have enabled htaccess by uncommenting the line:</p>
  
  <blockquote>
    <p>LoadModule rewrite_module modules/mod_rewrite.so</p>
  </blockquote>
  
  <p>in the config file.</p>
  
  <p>Any ideas?</p>