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

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

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

若路径正确;

则查看httpd.conf 的

将Include conf/extra/httpd-vhosts.conf

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

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

 

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

Include conf/extra/httpd-vhosts.conf