title: Xampp Virtual Host Error 500
body: <p>i use xampp on mac os and i want to add virtual host on it</p>
  
  <p>i use this code on apaceh config</p>
  
  <pre><code>&lt;VirtualHost 127.0.0.1:80&gt;
      ServerName mvcproject.local
      DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/mvcproject/public"
  &lt;/VirtualHost&gt;
  
  &lt;Directory "/Applications/XAMPP/xamppfiles/htdocs/mvcproject/public"&gt;
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>and change my host like this</p>
  
  <pre><code>127.0.0.1       localhost
  255.255.255.255 broadcasthost
  ::1             localhost
  127.0.0.1       Masouds-MacBook-Pro.local # added by Apache Friends XAMPP
  127.0.0.1       mvcproject.local
  </code></pre>
  
  <p>but i have this error</p>
  
  <pre><code>Server error!
  
  The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
  
  If you think this is a server error, please contact the webmaster.
  </code></pre>
  
  <blockquote>
    <p>Error 500</p>
    
    <p>mvcproject.local
      Apache/2.4.33 (Unix) OpenSSL/1.0.2o PHP/7.2.5 mod_perl/2.0.8-dev Perl/v5.16.3</p>
  </blockquote>
  
  <p>How can i solve this problem?!
  thanks.!</p>