艳妇臀荡乳欲伦交换h漫-国产精品免费一区二区三区在线观看-俄罗斯黄色一级毛片-免费观看三片|www.lufeina.com

  • 遠澗知產-為您的企業賦予能量!
  • 打開微信掃一掃,
    您還可以在這里找到我們喲

    關注我們

  • 幫助中心

    phpStudy環境如何安裝SSL證書?

    第一步:修改apache目錄下的httpd.conf配置文件

    1、#LoadModule ssl_module modules/mod_ssl.so刪除行首的配置語句注釋符號“#”

    2、增加一條引用語句 Include conf/vhost-ssl.conf

    第二步:

    1、在conf文件夾中創建一個vhost-ssl.conf配置文件。

    2、編輯vhost-ssl.conf文件,增加如下內容:

    Listen 443 
    SSLEngine on 
    SSLProtocol all -SSLv2 -SSLv3 
    SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 
    SSLCertificateFile “D:\phpStudy\Apache\conf\ssl\www.22.cn.crt” //服務器證書 
    SSLCertificateKeyFile “D:\phpStudy\Apache\conf\ssl\private.key” //證書私鑰 
    SSLCertificateChainFile “D:\phpStudy\Apache\conf\ssl\ca.crt” //根證書 
    DocumentRoot “D:\phpStudy\WWW” 
    Options +Indexes +FollowSymLinks +ExecCGI 
    AllowOverride All 
    Order allow,deny 
    Allow from all 
    Require all granted 

    3.phpstudy配置指定路徑訪問https(僅供參考)。

    RewriteEngine on 
    RewriteCond %{REQUEST_URI} /homework 
    RewriteRule^(.*)?$ https://%{SERVER_NAME}$1[L,R] 

    4、保存退出,并重啟Apache, 若有報錯或者無法正常啟動,請看錯誤日志。