因为之前想要配置多站点,在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服务。
转载于:https://www.cnblogs.com/gavinguo/p/9586183.html