使用 Apache Name Base Virtual Host 欲新增 tcp/443 的 vhost 出現以下錯誤訊息

Performing sanity check on apache22 configuration:
[Wed Sep 12 13:44:02 2018] [warn] _default_ VirtualHost overlap on port 443, the first has precedence

開啟網頁後,不論是連到哪個網址都會看到預設的網頁

解決方式:

在設定檔中加入
NameVirtualHost *:443

重啟apache 即可

arrow
arrow
    創作者介紹
    創作者 helloworld 的頭像
    helloworld

    Hello World

    helloworld 發表在 痞客邦 留言(0) 人氣()