zoukankan      html  css  js  c++  java
  • Apache https 证书配置...

    没啥好说的..赋值粘贴 !!

    Listen 443
    SSLSessionCache        "shmcb:/apache/logs/ssl_scache(512000)"
    SSLSessionCacheTimeout  300
    
    
    <VirtualHost *:443>
    
        ServerName abc.cn
        DocumentRoot "C:/www/htdocs/"
    
        SSLEngine on
        SSLProtocol all -SSLv2 -SSLv3
        SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
    
        SSLCertificateFile "conf/sslroot/abc.pem"
        SSLCertificateKeyFile "conf/sslroot/abc.key"
    
       <Directory "C:/www/htdocs/">
            Options FollowSymLinks ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
            Require all granted
      </Directory>
    
    </VirtualHost>

     # 一份完整的配置。

    Listen 443
    SSLSessionCache        "shmcb:/apache/logs/ssl_scache(512000)"
    SSLSessionCacheTimeout  300
    
    
    <VirtualHost *:443>
    
        ServerName xxx
        ServerAlias xxx
        DocumentRoot "C:/Users/Administrator/Desktop/UPUPW_AP7.0/htdocs/"
    
        SSLEngine on
        SSLProtocol all -SSLv2 -SSLv3
        SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
    
        SSLCertificateFile "conf/sslroot/wqj.pem"
        SSLCertificateKeyFile "conf/sslroot/wqj.key"
    
       <Directory "C:/Users/Administrator/Desktop/UPUPW_AP7.0/htdocs/">
            Options FollowSymLinks ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
            Require all granted
      </Directory>
    
    
      
    </VirtualHost>
    
    
    #  kxxxxx
    <VirtualHost *:443>
    
        SSLEngine on
        SSLProtocol all -SSLv2 -SSLv3
        SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
        SSLCertificateFile "conf/sslroot/xxx.pem"
        SSLCertificateKeyFile "conf/sslroot/xxxx.key"
    
        #ServerAdmin 管理员邮箱
        ServerName xxxx
        ServerAlias xxxx
        ErrorLog "logs/xxx-error.log"
        CustomLog "logs/xxx-access.log" common
        ProxyRequests Off
        ProxyPreserveHost on
     
        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>
    
        <Location />
            ProxyPass http://127.0.0.1:8080/
            ProxyPassReverse http://127.0.0.1:8080/
        </Location>
    
    </VirtualHost>
    
    #  resources 
    <VirtualHost *:443>
        SSLEngine on
        SSLProtocol all -SSLv2 -SSLv3
        SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
        SSLCertificateFile "conf/sslroot/wqj.pem"
        SSLCertificateKeyFile "conf/sslroot/wqj.key"
    
        #ServerAdmin 管理员邮箱
        ServerName xxx
        ServerAlias xxx
        ErrorLog "logs/xxx-error.log"
        CustomLog "logs/xxx-access.log" common
       
        DocumentRoot "C:/res"
        <Directory "C:/res">
            AllowOverride All
            Order allow,deny
            Allow from all
            Require all granted
      </Directory>
    </VirtualHost>
  • 相关阅读:
    MongoDB 查询$关键字 $in $or $all
    MongoDB limit 选取 skip跳过 sort排序 方法
    POJ 1700
    POJ 1666
    POJ 1701
    POJ 1674
    POJ 1664
    POJ 1665
    POJ 1658
    POJ 1656
  • 原文地址:https://www.cnblogs.com/whm-blog/p/9090558.html
Copyright © 2011-2022 走看看