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

  • 遠(yuǎn)澗知產(chǎn)-為您的企業(yè)賦予能量!
  • 打開(kāi)微信掃一掃,
    您還可以在這里找到我們喲

    關(guān)注我們

  • 幫助中心

    phpStudy環(huán)境如何安裝SSL證書(shū)?

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

    1、#LoadModule ssl_module modules/mod_ssl.so刪除行首的配置語(yǔ)句注釋符號(hào)“#”

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

    第二步:

    1、在conf文件夾中創(chuàng)建一個(gè)vhost-ssl.conf配置文件。

    2、編輯vhost-ssl.conf文件,增加如下內(nèi)容:

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

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

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

    4、保存退出,并重啟Apache, 若有報(bào)錯(cuò)或者無(wú)法正常啟動(dòng),請(qǐng)看錯(cuò)誤日志。