因为之前想要配置多站点,在apache配置文件中将httpd.conf文件中“Include conf/extra/httpd-vhosts.conf”的注释取消后,忘记修改回来,在访问域名后,界面返回报错信息:The requested URL / was not found on this server
解决方案:
在apache配置文件httpd.conf文件中,将“Include conf/extra/httpd-vhosts.conf”注释掉(前面加#),重启apache服务。

因为之前想要配置多站点,在apache配置文件中将httpd.conf文件中“Include conf/extra/httpd-vhosts.conf”的注释取消后,忘记修改回来,在访问域名后,界面返回报错信息:The requested URL / was not found on this server
解决方案:
在apache配置文件httpd.conf文件中,将“Include conf/extra/httpd-vhosts.conf”注释掉(前面加#),重启apache服务。

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。