You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.11 09:23:10