Wamp 3.1.0虚拟主机访问报错The requested URL / was not found求助
Apache虚拟主机访问出现Not Found错误,请求排查帮助
我之前配置的虚拟主机一直能正常运行,但今天早上访问 http://www.notification.test/ 时突然碰到了404错误,具体提示如下:
Not Found The requested URL / was not found on this server. Apache/2.4.27 (Win64) Server at www.notification.test Port 80
我的hosts文件配置是:
127.0.0.1 www.notification.test
Apache的虚拟主机配置文件位于 C:\wamp64\bin\apache\apache2.4.27\conf\extra,内容如下:
<VirtualHost *:80> DocumentRoot C:/wamp64/www/notification/public ServerName www.notification.test <Directory C:/wamp64/www/notification/public> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require all granted </Directory> </VirtualHost>
我已经参考其他帖子的建议添加了<Directory>配置段,但问题还是没解决。我的运行环境如下:
- Wamp 3.1.0
- 64位Windows 7系统
- Apache 2.4.47
麻烦各位帮忙找找问题出在哪,谢谢!
内容的提问来源于stack exchange,提问作者Anonymouse703
相关产品推荐
相关产品推荐

