MAMP 500 Internal Server Error
<p>I got a little problem.</p>

<p>I made two virtual hosts "web-backend.local" and "oplossingen.web-backend.local".</p>

<p>But I always have a "500 Internal Server Error"</p>

<p>What am I doing wrong?</p>

<p>Hosts file:</p>

<pre><code>##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1   localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost

# MAMP VirtualHost Mappings
127.0.0.1 web-backend.local
127.0.0.1 oplossingen.web-backend.local
</code></pre>

<p>httpd-vhosts.conf:</p>

<pre><code>#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# &lt;URL:http://httpd.apache.org/docs/2.2/vhosts/&gt;
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# 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 web-backend.local:* &gt;
DocumentRoot "/Users/yawuarsernadelgado/Documents/web-backend/cursus"
ServerName web-backend.local
&lt;Directory "/Users/yawuarsernadelgado/Documents/web-backend/cursus"&gt;
    AllowOverride All
    Require all granted
    Options +Indexes
    IndexOptions NameWidth=*
&lt;/Directory&gt;
ServerAlias web-backend.local
&lt;/VirtualHost&gt;

&lt;VirtualHost oplossingen.web-backend.local:* &gt;
DocumentRoot "/Users/yawuarsernadelgado/Documents/web-backend/oplossingen"
ServerName oplossingen.web-backend.local
&lt;Directory "/Users/yawuarsernadelgado/Documents/web-backend/oplossingen"&gt;
    Allow from all
    Require all granted
    Options +Indexes
    IndexOptions NameWidth=*
&lt;/Directory&gt;
&lt;/VirtualHost&gt;
</code></pre>