title: 500 internal error with RewriteEngine on .htaccess on localhost with wamp
body: <p>I'm having a problem with a script. It doen't works with a htaccess file that is needed to work. Here's what the htaccess contains. I'm trying to install it on a wamp localhost. The code is:</p>
  
  <pre><code>#AddType x-mapp-php5 .php
  #AddHandler x-mapp-php5 .php
  
  RewriteEngine ON
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule .* index.php/$0 [PT,L]
  #RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
  
  Options All -Indexes
  </code></pre>
  
  <p>If I remove this it works:</p>
  
  <pre><code>RewriteEngine ON
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule .* index.php/$0 [PT,L]
  #RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
  </code></pre>
  
  <p>But this way the script loads but every page show error 404. Is there a way to resolve this problem??</p>