New Wampserver project path is not in front of localhost

Source: Internet
Author: User

1, the first situation: http://localhost/page can not access

How to resolve:

Find the index.php in the WWW directory and then modify the inside find $projectcontents or directly view the 338 line code to modify '/http ' to ' http://localhost/' for example: $projectContents. = ' <li><a href= "'. ($suppress _localhost? ' http://localhost/': $file. ' " > '. $file. ' </a></li> ';

2, the interface icon can not click here

How to resolve:

A, find the root directory of the Scripts folder, mine is D:\Program files\wamp\scripts

b, modify the $myreplacesubmenuprojects, the "HTTP//" for "http://localhost", 651 lines

For example: Parameters: "http://localhost/". $projectContents [$i]. ' /"; Glyph:5 (This line of code is longer, on the last side)!

New Wampserver project path is not in front of localhost

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.