真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

關(guān)于apache下同IP多域名支持HTTPS和80跳轉(zhuǎn)HTTPS的配置-創(chuàng)新互聯(lián)

httpd-ssl的配置:

創(chuàng)新互聯(lián)是一家專注于成都網(wǎng)站設(shè)計、成都網(wǎng)站建設(shè)、外貿(mào)網(wǎng)站建設(shè)與策劃設(shè)計,漢源網(wǎng)站建設(shè)哪家好?創(chuàng)新互聯(lián)做網(wǎng)站,專注于網(wǎng)站建設(shè)十多年,網(wǎng)設(shè)計領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:漢源等地區(qū)。漢源做網(wǎng)站價格咨詢:13518219792

Listen 443

NameVirtualHost *:443

AddType application/x-x509-ca-cert .crt

AddType application/x-pkcs7-crl    .crl

SSLPassPhraseDialog  builtin SSLSessionCache        "shmcb:/usr/local/apache/logs/ssl_scache(512000)"

SSLSessionCacheTimeout  300

SSLMutex  "file:/usr/local/apache/logs/ssl_mutex"

DocumentRoot "/xxxx/Span"

ServerName resource-pov.xxx.com

SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

SSLCertificateFile "/usr/local/apache/conf/ssl/server.crt"

SSLCertificateKeyFile "/usr/local/apache/conf/ssl/server.key"

DocumentRoot "/xxxx/pov.xxx.com"

ServerName pov.xxx.com

SSLEngine on

SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

SSLCertificateFile "/usr/local/apache/conf/ssl/server.crt"

SSLCertificateKeyFile "/usr/local/apache/conf/ssl/server.key"

httpd-vhosts.conf的配置:

NameVirtualHost *:80

ServerAdmin webmaster@dummy-host.example.com

DocumentRoot "/xxxx/Span"

ServerName  resource-pov.xxx.com

ServerAlias resource-pov.xxx.com

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://resource-pov.xxx.com/$1 [R=301,L]

   ErrorLog "logs/resource-pov.xxx.com-error_log"

   CustomLog "logs/resource-pov.xxx.com-access_log" common

ServerAdmin webmaster@dummy-host.example.com

DocumentRoot "/xxxx/pov.xxx.com"

ServerName  pov.xxx.com

ServerAlias pov.xxx.com

    //這塊IfModule mod_rewrite.c是開啟重定向跳轉(zhuǎn)模塊,將所有80的訪問跳轉(zhuǎn)至HTTPS,如果不想跳轉(zhuǎn)可以選擇去掉 ........ 這段。

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://pov.xxx.com/$1 [R=301,L]

ErrorLog "logs/pov.xxx.com-error_log"

CustomLog "logs/pov.xxx.com-access_log" common

創(chuàng)新互聯(lián)www.cdcxhl.cn,專業(yè)提供香港、美國云服務(wù)器,動態(tài)BGP最優(yōu)骨干路由自動選擇,持續(xù)穩(wěn)定高效的網(wǎng)絡(luò)助力業(yè)務(wù)部署。公司持有工信部辦法的idc、isp許可證, 機房獨有T級流量清洗系統(tǒng)配攻擊溯源,準(zhǔn)確進(jìn)行流量調(diào)度,確保服務(wù)器高可用性。佳節(jié)活動現(xiàn)已開啟,新人活動云服務(wù)器買多久送多久。


網(wǎng)站標(biāo)題:關(guān)于apache下同IP多域名支持HTTPS和80跳轉(zhuǎn)HTTPS的配置-創(chuàng)新互聯(lián)
文章鏈接:http://weahome.cn/article/jggph.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部