title: Windows 7 - XAMPP: vhost keeps redirecting
body: <p><strong>My hosts file. (Win 7 ultimate)</strong></p>
  
  <pre><code>127.0.0.1       localhost
  127.0.0.1       efmm.local
  </code></pre>
  
  <p><strong>My httpd-vhosts.conf (XAMPP 1.7.3)</strong></p>
  
  <pre><code>NameVirtualHost 127.0.0.1:80
  
      &lt;VirtualHost 127.0.0.1:80&gt;
        DocumentRoot "C:\xampp\htdocs"
        ServerName localhost
      &lt;/VirtualHost&gt;
  
      &lt;VirtualHost efmm.local&gt;
  
          DocumentRoot "C:\xampp\htdocs\EFMM"
          ServerName efmm.local    
          ErrorLog "logs/efmm.localhost-error.log"
          CustomLog "logs/efmm.localhost-access.log" combined
        &lt;Directory "C:\xampp\htdocs\EFMM"&gt;
         Options Indexes FollowSymLinks
          AllowOverride All
          Order allow,deny
          Allow from all
        &lt;/Directory&gt;
  
      &lt;/VirtualHost&gt;
  </code></pre>
  
  <p><strong>Problem</strong></p>
  
  <p>When I go to <code>efmm.local</code> , the browser redirects to <code>localhost/EFMM</code>.
  I also tried <code>&lt;VirtualHost 127.0.0.1:80&gt;</code> instead of <code>&lt;VirtualHost efmm.local&gt;</code>, same result.</p>