wampserver 的Apache启动错误提示:The requested URL / was not found on this server

解决方法:检查Apache下的httpd.conf 的DocumentRoot 和Directory 的路径是的正确, 

若路径正确;

则查看httpd.conf 的

将Include conf/extra/httpd-vhosts.conf

改为#Include conf/extra/httpd-vhosts.conf ;重启服务访问即可;

 

以上是我再把wampserver的本地虚拟服务器环境访问方式改为本地localhost访问方式时出现错误的解决方法

Include conf/extra/httpd-vhosts.conf 

posted on 2018-02-23 21:38  phany  阅读(590)  评论(0编辑  收藏  举报

导航