Wamp the original web site root directory in the Wamp directory under the WWW folder. This article explains how to modify the root directory of the Wamp Web site.
1. Create a new folder in the F Disk demo store website code.
2. Open the Apache configuration file httpd.conf file.
3. Modify the DocumentRoot path to the path of the demo folder, as shown in the following changes:
Modify the directory path to the path of the demo folder, as shown in the following changes:
4. Restart Wamp after saving.
Changing the Wamp development package file can change the directory that the Wamp www directory points to.
1. Modify the Wampmanager.ini file.
Change the WWW directory to the Demo directory, and change the path to "F:/demo" to save.
2. Modify the Wampmanager.tpl file.
Modify "${w_wwwdirectory}" to "Demo directory" and change the path to "F:/demo" to save.
3. Restart the Wamp.
Modify the root directory of the Wamp Web site