title: Apache - changing document root (Mac)
body: <p>I'm just getting started using Apache on my Mac (El Capitan 10.11.13), but I'd like to change the document root.  However, I'm not sure I fully understand how to do this, or if it is even possible to set it up the way that I would like to...</p>
  
  <p>For starters, here's the snippet from my httpd.conf file (I haven't made any changes, this is stock)...</p>
  
  <pre><code>DocumentRoot "/Library/WebServer/Documents"
  &lt;Directory "/Library/WebServer/Documents"&gt;
  #
  # Possible values for the Options directive are "None", "All",
  # or any combination of:
  #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  #
  # Note that "MultiViews" must be named *explicitly* --- "Options All"
  # doesn't give it to you.
  #
  # The Options directive is both complicated and important.  Please see
  # http://httpd.apache.org/docs/2.4/mod/core.html#options
  # for more information.
  #
  Options FollowSymLinks Multiviews
  MultiviewsMatch Any
  
  #
  # AllowOverride controls what directives may be placed in .htaccess files.
  # It can be "All", "None", or any combination of the keywords:
  #   AllowOverride FileInfo AuthConfig Limit
  #
  AllowOverride None
  
  #
  # Controls who can get stuff from this server.
  #
  Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I would like to change the DocumentRoot to the folder where I generally keep my web development work, which is:</p>
  
  <pre><code>/Users/myname/Desktop/Stuff/Development
  </code></pre>
  
  <p>I know that the first step is to replace the DocumentRoot and Directory in the .conf file, but this doesn't work - I get the 403 forbidden error - and I'm not sure what to do after that.</p>
  
  <p>My questions...</p>
  
  <ul>
  <li><p>Is it possible to set the document root to a folder that is associated with a specific user - me, in this case?  I'm the only user of my machine, and it would be much easier for me to do what I need to if Apache was pointed at that folder.</p></li>
  <li><p>If so, what do I need to do other than change the first two lines from the snippet of my .conf file?  Please be specific, as I'm relatively new to working with the terminal.</p></li>
  </ul>
  
  <p>Thanks very much.</p>