Apache虚拟主机文档说:
You can alternatively specify an explicit IP address in place of the * in <VirtualHostFor example, you might want to do this in order to run some name-based virtual hosts on one IP address, and either IP-based, or another set of name-based virtual hosts o
以下配置之间的区别是什么Listen 192.168.0.34:80 //from an internal ip on port 80Listen 173.194.35.23:80 //from an external ip on port 80
它们中哪一个是最佳配置(如果它们之间有任何区别的话)。我希望我的服务器可以从互联网访问,而不仅仅是从局域网访问。