title: Xampp virtual host - access denied
body: <p>I'm running a XAMPP server on my laptop and I'm trying to setup a virtual host.</p>
  
  <p>My hosts-file looks like this:</p>
  
  <pre><code>127.0.0.1      localhost
  127.0.0.1      localhost.com
  127.0.0.1      ehc.local
  127.0.0.1      bal.local
  </code></pre>
  
  <p>The httpd-vhosts.conf file looks like this:</p>
  
  <pre><code>NameVirtualHost *:80
  &lt;VirtualHost ehc.local:80&gt;
     DocumentRoot "C:/wamp/EHC/src/main/php/www"
     ServerName ehc.local
     SetEnv APPLICATION_ENV "local"
  
     &lt;Directory "C:/wamp/EHC/src/main/php/www"&gt;
        Options Indexes MultiViews FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
     &lt;/Directory&gt;
     ErrorLog "logs/ehc.dev-error_log"
     CustomLog "logs/ehc.dev-access_log" common
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>When I browse to 'ehc.local', I only get the default 403-error page.</p>
  
  <p>How can I fix this?</p>
  
  <p>Thanks!</p>