UNDER CONSTRUCTION

Change XAMPP's DocumentRoot

PREREQUISITES

Before you begin, you must have done the following:
{panel}
\\
* Installed and configured XAMPP following the instructions give in either:\\
\\
           [Install and configure XAMPP 1.7.1.|Install and configure XAMPP 1.7.1] or [Install and configure XAMPP 1.7.2.|Install and configure XAMPP 1.7.2]\\
\\
{panel}

ASSUMPTIONS

{panel}
\\
This is an example of how the change apache's default *DocumentRoot* to a user defined *DocumentRoot*.  This example will demonstrate how to change the default *DocumentRoot* to a user defined *DocumentRoot* of *c:/var/www/html*.\\
\\
Follow this example to change the *DocumentRoot* to one of your choosing.  Replacing *c:/var/www/html* with a directory path of your choosing.\\
\\
{panel}

1.  Change apache's DocumentRoot

{panel}
\\
Edit c:\xampp\apache\conf\httpd.conf and change:\\
\\
     From:\\
           *DocumentRoot "C:/xampp/htdocs"*\\
     To:\\
           *DocumentRoot "C:/var/www/html"*\\
\\
and change:\\
\\
     From:\\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *<Directory "C:/xampp/htdocs">*\\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To:\\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *<Directory "C:/var/www/html">*\\
\\
Save the changes and restart apache\\
\\
{panel}

2.  Create SymLinks

{panel}
\\
\\
\\
{panel}

3.  Verify the installation

{panel}
\\
\\
\\
{panel}