Apache配置虚拟主机后,不能访问localhost的问题

Apache配置虚拟主机后,不能访问localhost,只能通过设置好虚拟域名访问。 (1)可以通过把localhost变成虚拟域名。   <VirtualHost _default_:80>    DocumentRoot "C:\phpStudy\WWW"     ServerName localhost           </VirtualHost> (2)把httpd.conf文件的Se
相关文章
相关标签/搜索