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} |
{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} |
{panel} \\ Edit c:\xampp\apache\conf\httpd.conf and change:\\ \\ From:\\ *DocumentRoot "C:/xampp/htdocs"*\\ To:\\ *DocumentRoot "C:/var/www/html"*\\ \\ and change:\\ \\ From:\\ *<Directory "C:/xampp/htdocs">*\\ To:\\ *<Directory "C:/var/www/html">*\\ \\ Save the changes and restart apache\\ \\ {panel} |
{panel} \\ \\ \\ {panel} |
{panel} \\ \\ \\ {panel} |