phpStudy 本地 域名访问 报错:Not Found The requested URL / was not found on this server.用127.0.0.1:端口访问都是可以的 ,用域名就是报错
方法/步骤
1
.用编辑器打开hosts文件,位置:C:\Windows\System32\drivers\etc目录下
3
phpStudy\PHPTutorial\Apache\conf\extra\httpd-vhosts.conf, 打开httpd-vhosts.conf,
4
重启一下还是报错,把端口改成80的 重启 又好了
上一篇:如何使用Zsh处理字符串
下一篇:css样式的简单介绍