Not Found the requested Url/was not Found on this server.

Source: Internet
Author: User
Tags virtual environment

Http://www.wanysys.cc/coding/php/800.html

Today in the local PHP project, want to wampserver the local virtual server environment access to local localhost access mode, open Wampserver Apache in the http://localhost/display the following error, Tip The requested Url/was not found on this Server. (Unable to find the requested URL on the server), Baidu various methods are not resolved, many people's methods are not verified copy paste other people's things, simply can not solve the problem, here by the way despise a certain degree.


Later on the website of the old United States found a sentence:


Tip change the include conf/extra/httpd-vhosts.conf in Apache config file httpd.conf to # include conf/extra/ Httpd-vhosts.conf, suddenly dawned, it must be because I configured the "Wampserver local virtual Server Environment", and now I want to access the local project access from the virtual environment (www.wanysys.cc this way) instead of using HTTP// localhost/this way to access, so that the server could not find the URL of the user request, finally, follow the above prompts to change after restarting Wampserver Apache service, found Wampserver Apache local access succeeded!!!

Not Found the requested Url/was not Found on this server.

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.