WAMP访问localhost 提示The requested URL / was not found on this server.
要保证
httpd.conf 文件中的DocumentRoot "F:\PHP\web"
和
httpd-vhost.conf 文件中的
<VirtualHost *:80>
DocumentRoot "F:\PHP\web"
#ServerName www.example.com:80
保持一致。
要保证
httpd.conf 文件中的DocumentRoot "F:\PHP\web"
和
httpd-vhost.conf 文件中的
<VirtualHost *:80>
DocumentRoot "F:\PHP\web"
#ServerName www.example.com:80
保持一致。