title: WAMP automatically adds .php extension to file with RewriteRule
body: <p>I am trying to rewrite my url with apache .htaccess (rewriting) as following:</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-l
  
  RewriteRule ^(.+)/?$ index.php?url=$1 [QSA,L]
  </code></pre>
  
  <p>My small project structure is:</p>
  
  <ul>
  <li>.htaccess</li>
  <li>index.php</li>
  <li>test.php</li>
  </ul>
  
  <p>Everything works fine, whatever I type after the "/" is in my <em>$_GET["url"]</em> variable. But as soon as I type in domain.com/index, it somehow automatically adds the .php extension to my url and leaves my <em>$_GET["url"]</em> empty. Same story when I try domain.com/test: it goes to <em>test.php</em> instead of rewriting to <em>domain.com/url=test</em>.</p>
  
  <p>The strangest thing is that on 000webhost.com it all works perfectly! When I upload the same file(s), its shows up the <em>index</em> and <em>test</em> in my <em>$_GET["url"]</em> variable.</p>
  
  <p>Hope someone can help me!<br>
  Gratz</p>