WDCP支持多个域名同时使用一个非80端口

Posted by admin; tagged with apache

找到问题了,应该是一个小BUG

wdcp不支持多个域名同时使用一个非80端口。我的所有使用非80端口的网站都会自动跳转到最后设置的那个网站上去。

自己在/www/wdlinux/apache/conf/http.conf里添加一个端口,如黄色部分所示

</IfModule>

NameVirtualHost *:80

NameVirtualHost *:新增的端口号

Include conf/httpd-wdl.conf

Include conf/vhost/*.conf