title: MAMP OS X 10.8.2 Virtual Hosts
body: <p>I am attempting to set up MAMP on my Macbook Pro, and I cannot seem to get a virtual host running. This is my first attempt at this.  I am coming from a WAMP/Windows 7 environment, so I may have passed over something.  I have already followed the guides on the MAMP site, and a couple others rendered from Google searches, but to no avail...</p>
  
  <p>My /etc/hosts:</p>
  
  <pre><code>127.0.0.1       localhost
  255.255.255.255 broadcasthost
  ::1             localhost
  fe80::1%lo0     localhost
  127.0.0.1 robabby
  </code></pre>
  
  <p>My httpd-vhosts.conf:</p>
  
  <pre><code>#
  # Use name-based virtual hosting.
  #
  NameVirtualHost *:80
  
  #
  # VirtualHost example:
  # Almost any Apache directive may go into a VirtualHost container.
  # The first VirtualHost section is used for all requests that do not
  # match a ServerName or ServerAlias in any &lt;VirtualHost&gt; block.
  #
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot "/Users/admin/Development/websites/robabby"
      ServerName robabby
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I followed the MAMP GUI for setting up a new host.<br>
  <img src="https://i.stack.imgur.com/8zdZ3.png" alt="enter image description here"></p>
  
  <p>Direct my browser to robabby:80 and I get a <code>ERROR: 500 (internal server error)</code>
  <img src="https://i.stack.imgur.com/tCddL.png" alt="enter image description here"></p>
  
  <p>Any help much appreciated...</p>