title: Adding VirtualHost fails: Access Forbidden Error 403 (XAMPP) (Windows 7)
body: <p>I've got a XAMPP installation running on Windows 7.</p>
  
  <p>As soon as I add a VirtualHost to httpd-vhosts.conf, BOTH the 'regular' <code>http://localhost</code> AND the new <code>dropbox.local</code>  aren't working.</p>
  
  <p>This is what I added to my <code>httpd-vhosts.conf</code>:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin postmaster@dummy-host.localhost
      DocumentRoot "E:/Documenten/Dropbox/Dropbox/dummy-htdocs"
      ServerName dropbox.local
      ServerAlias www.dropbox.local
      ErrorLog "logs/dropbox.local-error.log"
      CustomLog "logs/dropbox.local-access.log" combined
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>So I looked up my <code>dropbox.local-error.log</code> for any information:</p>
  
  <pre><code>[Thu Feb 02 10:41:57 2012] [error] [client 127.0.0.1] client denied by server configuration: E:/Documenten/Dropbox/Dropbox/dummy-htdocs/
  </code></pre>
  
  <p>This error seems to be solved by adding </p>
  
  <pre><code>&lt;directory "E:/Documenten/Dropbox/Dropbox/dummy-htdocs"&gt;
       Allow from all
  &lt;/directory&gt;
  </code></pre>
  
  <p>But now I get this error in <code>dropbox.local-error.log</code>: </p>
  
  <pre><code>[Thu Feb 02 10:45:56 2012] [error] [client ::1] Directory index forbidden by Options directive: E:/Documenten/Dropbox/Dropbox/dummy-htdocs/
  </code></pre>
  
  <p>Furthermore when I try to access <code>http://localhost</code>, I dont get any error in the regular <code>error.log</code>, although I get the <code>error 403</code> when I try to access it.</p>
  
  <p>Can anybody help... It's driving me mad :S</p>
  
  <p>EDIT:
  Also in <code>httpd.conf</code> there is the following (I've seen it mentioned multiple times, so before anyone says it):</p>
  
  <pre><code>&lt;IfModule dir_module&gt;
      DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
                     default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
                     home.php home.pl home.cgi home.asp home.shtml home.html home.htm
  &lt;/IfModule&gt;
  </code></pre>