title: changing documentroot for apache on windows isn't working
body: <p>I'm trying to change documentroot on my local windows machine to point at a sub directory below htdocs. I've changed the DocumentRoot location inside httpd.conf along with the Directory location.  I've restarted Apache but prinitng out document root with PHP it still points to the default location.</p>
  
  <p>Changes inside httpd.conf:</p>
  
  <pre><code>DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/folder_test/website"
  
  &lt;Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/folder_test/website"&gt;
  Options Indexes FollowSymLinks
  AllowOverride None
  Order allow,deny
  Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>When I navigate to <a href="http://localhost/folder_test/website" rel="nofollow">http://localhost/folder_test/website</a> I see the following from my PHP output:</p>
  
  <pre><code>C:/Program Files/Apache Software Foundation/Apache2.2/htdocs
  </code></pre>
  
  <p>My PHP code: </p>
  
  <pre><code>&lt;?php 
    //Get the document root 
    $root = getenv("DOCUMENT_ROOT") ; 
    Echo $root; 
  ?&gt; 
  </code></pre>
  
  <p>I've restarted Apache...What am I missing?</p>