IIS6下https強(qiáng)制跳轉(zhuǎn)

2021-03-19    分類: 網(wǎng)站建設(shè)

1、首先打開所要修改的網(wǎng)站然后右擊選擇“屬性”

3、選擇“要求安全通信(SSL)”后點(diǎn)擊“確定”。

創(chuàng)建源代碼

function redirectToHttps()

var httpURL = window.location.hostname + window.location.pathname;

window.location = httpsURL ;

redirectToHttps();

Windows系統(tǒng)安裝Apache-tomacat

網(wǎng)站欄目:IIS6下https強(qiáng)制跳轉(zhuǎn)
當(dāng)前路徑:http://www.bm7419.com/news15/105465.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供搜索引擎優(yōu)化、網(wǎng)站改版、靜態(tài)網(wǎng)站、做網(wǎng)站Google、企業(yè)網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

微信小程序開發(fā)