WAMP访问localhost 提示The requested URL / was not found on this server.

WAMP访问localhost 提示The requested URL / was not found on this server.

要保证

httpd.conf 文件中的DocumentRoot "F:\PHP\web"

httpd-vhost.conf 文件中的

DocumentRoot "F:\PHP\web"
#ServerName www.example.com:80

保持一致。

你可能感兴趣的:(PHP)