#apache目录 D:\Apache
#把证书文件 mycert.crt,mycert.key 放到D:\Apache根目录
#在D:\Apache\conf\extra\httpd-vhosts.conf下新增加
#监听443端口
Listen 443
#建立一个SSL的虚拟站点,避免SSL配置影响原来HTTP的站点配置
DocumentRoot "D:\website\"
ServerName www.****.com
SSLEngine on
SSLCertificateFile mycert.crt
SSLCertificateKeyFile mycert.key
ErrorLog "|bin/rotatelogs.exe logs/error_%Y_%m_%d.log 86400 480"
#TransferLog "D:/Apache/logs/access.log"
DirectoryIndex index.php index.html index.htm
Options All
AllowOverride All
Order allow,deny
Allow from all