首页 > 问答 > 正文
如何让我的一个域名支持Http & Https 协议,都是用同一个目录?
Http
Https
天蓬老师2017-04-21 11:18:29
雷雷
怪我咯2017-04-21 11:18:29
是不是这样。我也没试过,看了下我在用的配置。
ServerName example.com:443 DocumentRoot /var/www/html ... SSL相关部分 ... ServerName example.com:80 DocumentRoot /var/www/html ... 其他apache配置 ...