服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

APACHE Vhostconfiguration绑定到单独的接口

我有一个apache安装程序与以下V主机*:443是一个NameVirtualHost default server default.pegasustech.com.au (/etc/apache2/vhosts.d/1-default.conf:4) port 443 namevhost default.pegasustech.com.au (/etc/apache2/vhosts.d/1-default.conf:4) port 443 namevhost client.pegasustech.com.au (/etc/apache2/vhosts.d/client.pegasustech.com.au.conf:4) port 443 namevhost websys.pegasustech.com.au (/etc/apache2/vhosts.d/websys.pegasustech.com.au.conf:18) port 443 namevhost www.pegasustech.com.au (/etc/apache2/vhosts.d/www.pegasustech.com.au.conf:31) 我的Apache服务器有2个接口,一个内部和一个外部。 我想将websys.pegasustech.com.au的不同configuration绑定到接口,所以我将websys.pegasustech.com.au.conf的configuration文件从10.xxx:443和203.xxx:443两个副本 这工作,我得到了 VirtualHostconfiguration: 10.242.1.241:443 websys.pegasustech.com.au (/etc/apache2/vhosts.d/websys.pegasustech.com.au.conf:67) 203.111.76.130:443 websys.pegasustech.com.au (/etc/apache2/vhosts.d/websys.pegasustech.com.au.conf:18) *:443是NameVirtualHost default server default.pegasustech.com.au (/etc/apache2/vhosts.d/1-default.conf:4) port 443 namevhost default.pegasustech.com.au (/etc/apache2/vhosts.d/1-default.conf:4) port 443 namevhost client.pegasustech.com.au (/etc/apache2/vhosts.d/client.pegasustech.com.au.conf:4) port 443 namevhost www.pegasustech.com.au (/etc/apache2/vhosts.d/www.pegasustech.com.au.conf:31) […]