title: how to change xampp htdocs directory in OSX?
body: <p>I want to change XAMPP's htdocs directory. I followed the instructions to create a virtual host from this question:</p>
  
  <p><a href="https://stackoverflow.com/questions/1408/make-xampp-apache-serve-file-outside-of-htdocs">Make XAMPP/Apache serve file outside of htdocs</a></p>
  
  <p>this works fine on Windows 7, however when I try it on OSX, going to mysite.local just loads the xampp splash screen (mysite.local/xampp/index.html). I have restarted the web server. My virtual host declared in httpd-vhosts.conf is:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  
  DocumentRoot Users/username/Documents/sitename.com
  
  ServerName sitename.localhost
  
  &lt;Directory Users/username/Documents/sitename.com&gt;
  
  Order allow,deny 
  Allow from all
  
  &lt;/Directory&gt;
  </code></pre>