title: WAMP is redirecting php requests without extension
body: <p>I have a problem with my local WAMP server on Windows, it automatically adds the extension ".php" to the url if the file exists. For example, in the following structure:</p>
  
  <pre><code>+ www
    + files
      - main.php
  </code></pre>
  
  <p>if I call the url <code>http://localhost/files/main</code> it automatically shows me the file <code>main.php</code>.</p>
  
  <p>I was trying to identify where the redirection is but I have not found it. I clarify that <strong>I do not have any ".htaccess" file</strong>, I have even tried disabling the extension <code>mod_rewrite</code>, I have also searched for a <code>VirtualHost</code> that is redirecting and I have not found anything either.</p>
  
  <p>Removing the Type <code>application / x-httpd-php .php</code> no longer redirects, but of course, it no longer interprets the PHP files.</p>
  
  <p>I need to solve this since it is giving me problems when wanting to rewrite a url with "htaccess" since it adds the extension ".php" to the file.</p>
  
  <p>For example, with the following <code>.htaccess</code> file:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule (.*) files/main.php?url=$1 [QSA,L]
  </code></pre>
  
  <p>And the following <code>main.php</code> file:</p>
  
  <pre><code>&lt;?php print_r($_GET); ?&gt;
  </code></pre>
  
  <p>When calling the url <code>http://localhost/files/main/param</code> the file <code>main.php</code> runs and shows me the url: <code>files/main.php/param</code> (note that the extension has been added ".php" to the main file).</p>
  
  <p>Does anyone know what may be due and how to fix it?</p>