Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

indent
1
1
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

indent
1
1
{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

indent
1
1

{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}

...