请帮助我的 apache2 测试失败,下面是我收到的错误
Syntax error on line 219 of /etc/apache2/apache2.conf:
Syntax error on line 1 of /etc/apache2/sites-enabled/000-default.conf:
/etc/apache2/sites-enabled/000-default.conf:1: <Virtual> was not closed.
先感谢您
答案1
这是您的问题:
/etc/apache2/sites-enabled/000-default.conf:1: <Virtual> was not closed.
编辑您的 000-default.conf 文件以更正虚拟主机块,然后正确关闭它。