我有一个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)
不同的configuration,甚至工作我的问题是,www.pegasustech.com.au网站立即回来,因为“你没有权限访问请求的目录。没有索引文件或目录是读保护。
将websys.pegasustech.com.au的configuration恢复为*:443,www.pegasustech.com.au网站再次运行
任何人有任何想法?
提前致谢
标记