Apache error: _default_ virtualhost overlap on port 443

前端 未结 4 606
情书的邮戳
情书的邮戳 2020-12-23 10:59

I get this error when trying to start Apache.

_default_ virtualhost overlap on port 443

I\'m trying to set up SSL. Almost every

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-23 12:01

    It is highly unlikely that adding NameVirtualHost *:443 is the right solution, because there are a limited number of situations in which it is possible to support name-based virtual hosts over SSL. Read this and this for some details (there may be better docs out there; these were just ones I found that discuss the issue in detail).

    If you're running a relatively stock Apache configuration, you probably have this somewhere:

    
    

    Your best bet is to either:

    • Place your additional SSL configuration into this existing VirtualHost container, or
    • Comment out this entire VirtualHost block and create a new one. Don't forget to include all the relevant SSL options.

提交回复
热议问题