我刚刚在本地Apache 2安装中激活了一个testingSSL证书,按照以下步骤操作:
Include conf/extra/httpd-ssl.conf 我重新启动了Apache并获得了托pipe在htdocs目录中的testing页面。
我怎样才能让Apache返回我的虚拟主机呢?
我的虚拟主机目前看起来像:
<VirtualHost *:80> ServerName domain.localhost DocumentRoot c:\www\domain </VirtualHost>
您不能指向现有的端口80虚拟主机 – 您需要设置一个端口443虚拟主机。 http-ssl.conf中可能已经有一个使用了它。