title: Can't get MAMP working with Virtual hosts
body: <p>I’m having a hard time getting multiple sites working with MAMP using Virtual hosts.  Below is what I have set up on my MBA.  If I open up my web browser and go to "http:local.login.dev" or "<a href="http://dev.login.localhost" rel="nofollow">http://dev.login.localhost</a>" (after reconfigure) I get the index page that’s saved in /Users/aaron/localhost.  First item listed in my Virtual hosts section  Not the index page saved in the Virtual Host I want to get to.  Other sites I have setup give me the same result..  "http:next.site.localhost" = displays the index page in /Users/aaron/localhost.</p>
  
  <p>Does anybody have any thoughts?  My final goal is to configure MAMP Virtual hosts to work and test with SSL.</p>
  
  <p>Bottom line is it seems like ONLY the first Virtual host entry is read and that's whats used for every host listed.  Am I missing some setting somewhere??</p>
  
  <p>Environment:
   - MBA with OS X, Yosemite</p>
  
  <ul>
  <li><p>MAMP 3.0.7.3 using ports 80, and 3306 for http and mysql respectively</p></li>
  <li><p>httpd.conf File:
   Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf</p>
  
  <p>127.0.0.1   localhost<br>
  127.0.0.1   local.login.dev</p>
  
  <pre><code>&lt;VirtualHost *&gt; 
       DocumentRoot "/Users/aaron/localhost" 
       ServerName localhost 
  &lt;/VirtualHost&gt; 
  
  &lt;VirtualHost *:80&gt;  —  I tried both with and without :80
       DocumentRoot "/Users/aaron/localhost/training/login/public"
       ServerName local.login.dev  
  &lt;/VirtualHost&gt;
  </code></pre></li>
  </ul>
  
  <p>Also tried configuring my hosts and httpd-vhosts.conf this way - From another post:</p>
  
  <p>127.0.0.1   localhost<br>
  127.0.0.1   dev.login.localhost</p>
  
  <pre><code>&lt;VirtualHost *&gt; 
       DocumentRoot "/Users/aaron/localhost" 
       ServerName localhost 
  &lt;/VirtualHost&gt; 
  
  &lt;VirtualHost *:80&gt;
       DocumentRoot "/Users/aaron/localhost/training/login/public"
       ServerName dev.login.localhost  
       ServerAlias dev.login.localhost  
      &lt;Directory "/Users/aaron/localhost/training/login/public"&gt;
           Allow from All                                                                  
           AllowOverride all                                                               
           Options -Indexes +FollowSymlinks                                                
      &lt;/Directory&gt; 
  &lt;/VirtualHost&gt;
  </code></pre>