阅读,有一部分是这样写的:
If no matching ServerName or ServerAlias is found in the set of virtual hosts containing the most specific matching IP address and port combination, then the first listed virtual host that matches that will be used.
我有一个包含许多虚拟主机域的vhost文件。问题是,当我键入服务器IP时,我应该转到root,但不是,正如apache文档所述,我被带到了第
我有两个域名和一个IP。两个域都监听端口80。同样在端口443上,侦听其中一个域(来自这两个域)。但也有可能只通过IP访问其中一个域。我在端口80上阻止了IP,这很好。现在的问题是,使用https (端口443)和IP,任何人都可以从其中一个域访问页面。如何将两个域与IP访问分开?
domain1 listens on 80 only - this is ok
domain2 listens on 80 and 443 - this is ok
IP listens on 80 and 443 but must be blocked - don't know how to set it
我在centos 5中安装了一个xen内核,在这个xen内核中,我决定为amanda备份服务器创建带有公共ip的来宾操作系统。但我无法使用公共ip访问来宾操作系统。所以,我可以知道如何在主机系统之外路由来宾的公共ip。什么ip将成为客人操作系统的网关?
Host System IP : class A
Guest System IP : class B