Modify the root directory of the Wamp Web site

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.