<button id="qvlbh"><button id="qvlbh"></button></button>
<xmp id="qvlbh"><xmp id="qvlbh"><xmp id="qvlbh"><address id="qvlbh"><output id="qvlbh"></output></address>
<xmp id="qvlbh"><legend id="qvlbh"></legend>
<xmp id="qvlbh"> <address id="qvlbh"><output id="qvlbh"></output></address>
<address id="qvlbh"><button id="qvlbh"></button></address>
<button id="qvlbh"><samp id="qvlbh"></samp></button>
<address id="qvlbh"><button id="qvlbh"></button></address><address id="qvlbh"></address>
<address id="qvlbh"><legend id="qvlbh"></legend></address>
<samp id="qvlbh"><xmp id="qvlbh"><legend id="qvlbh"></legend>
中國站
幫助中心 > 網(wǎng)絡(luò )與加速 > CDN云加速 > 常見(jiàn)問(wèn)題 > 訪(fǎng)問(wèn)CDN加速資源返回403狀態(tài)碼

訪(fǎng)問(wèn)CDN加速資源返回403狀態(tài)碼

概述

本文主要介紹訪(fǎng)問(wèn)CDN加速資源返回403狀態(tài)碼的解決方法。

詳細信息

訪(fǎng)問(wèn)CDN加速的資源返回403狀態(tài)碼解決方法的相關(guān)信息如下。

測試源站域名
1.檢查CDN的加速域名是否可以訪(fǎng)問(wèn)源站,可以使用修改本地host文件的方式指定訪(fǎng)問(wèn)源站IP,操作步驟如下。
(1)本地的host文件路徑如下。
C:\Windows\System32\drivers\etc\hosts
(2)編輯hosts文件內容,增加一條記錄并保存。前面為源站IP,后面為加速域名,如下圖所示。

2.驗證相同CDN加速的URL,訪(fǎng)問(wèn)源站是否也是403。如果源站訪(fǎng)問(wèn)結果也是403,則說(shuō)明源站報錯,需針對源站進(jìn)一步審核。

排查CDN節點(diǎn)

1.打開(kāi)開(kāi)發(fā)者工具,通過(guò)Chrome瀏覽器打開(kāi)CDN加速的一個(gè)URL鏈接。
2.排查是否開(kāi)啟鑒權,發(fā)現鑒權報X-Tengine-Error:denied by req auth: no url arg auth_key錯誤。如果不需要使用鑒權則關(guān)閉鑒權。如果需要使用,則檢查鑒權的配置中MD5值是否計算錯誤,鑒權相關(guān)配置說(shuō)明,請參見(jiàn)配置URL鑒權。

3.確認打開(kāi)的URL鏈接不是CDN域名,但應用了CDN的資源。排查是否為Refer調用,如果Response Headers中有X-Tengine-Error:denied by Referer ACL,則說(shuō)明Refer規則設置不正確。這種情況下,您可以先取消CDN的Refer配置,然后排查CDN日志,找到對應的訪(fǎng)問(wèn)日志,找到Refer頭并添加白名單。在進(jìn)行防盜鏈設置后,如果訪(fǎng)問(wèn)CDN加速資源返回403錯誤,請參考由于防盜鏈異常導致訪(fǎng)問(wèn)CDN返回403錯誤的解決方法。
4.綁定源站后,經(jīng)測試仍返回403。在Response Headers中,CDN的L1和L2層緩存都不命中,說(shuō)明是源站拋出的403錯誤。這種情況下,您可以排查源站是否存在問(wèn)題。綁定主機名后,測試是否返回403錯誤。如果緩存命中率較低,請參見(jiàn)CDN命中率低。

国产精品香港三级|日韩精品无码免费专区网站|熟女一区二区三区|一本伊大人香蕉久久网|jzzijzzij亚洲乱熟无码
<button id="qvlbh"><button id="qvlbh"></button></button>
<xmp id="qvlbh"><xmp id="qvlbh"><xmp id="qvlbh"><address id="qvlbh"><output id="qvlbh"></output></address>
<xmp id="qvlbh"><legend id="qvlbh"></legend>
<xmp id="qvlbh"> <address id="qvlbh"><output id="qvlbh"></output></address>
<address id="qvlbh"><button id="qvlbh"></button></address>
<button id="qvlbh"><samp id="qvlbh"></samp></button>
<address id="qvlbh"><button id="qvlbh"></button></address><address id="qvlbh"></address>
<address id="qvlbh"><legend id="qvlbh"></legend></address>
<samp id="qvlbh"><xmp id="qvlbh"><legend id="qvlbh"></legend>