到目前为止,我使用了基于名称的虚拟主机,但没有使用NameVirtualHost指令。啊,真灵。现在,我读到了指令,并添加了-没有变化。所以-- NameVirtualHost真的是必要的吗,或者Apache2.4在没有设置的情况下会自动设置它吗?
发布于 2015-11-10 12:57:08
好吧,这似乎已经没有必要了:
Nov 10 13:55:05 hostname apache2[1718]: Starting web server: apache2: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:6
https://serverfault.com/questions/735233
复制相似问题