title: Why do my url rewriting rules throw me a 500 Internal Server Error on my localhost?
body: <p>Note: I have uncommented the line for loading <code>rewrite_module</code></p>
  
  <p>I have the following <code>.htaccess</code>:</p>
  
  <pre><code>SetEnv PHP_VER 5_4
  Options +FollowSymlinks
  RewriteEngine on
  RewriteRule ^lang/(.+)/(.+)$  index.php?mod=lang&amp;lang=$1&amp;url=$2 [L]
  RewriteRule ^(.+)/(.+)/(.+)/(.+).html$  index.php?mod=$1&amp;var=$2&amp;svar=$3&amp;tvar=$4 [L]
  RewriteRule ^(.+)/(.+)/(.+).html$  index.php?mod=$1&amp;var=$2&amp;svar=$3 [L]
  RewriteRule ^(.+)/(.+).html$  index.php?mod=$1&amp;var=$2 [L]
  RewriteRule ^(.+).html$  index.php?mod=$1 [L]
  </code></pre>
  
  <p>It works fine on my remote server but in local I get a 500 Internal Server Error. I am using UwAmp (portable version of Wamp Server) with PHP 5.4. I used to work on my old computer but not on my new one (both on Windows 7) what can I do ?</p>