<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>
中國站
幫助中心 > 安全 > 高防IP > 常見(jiàn)問(wèn)題 > 高防IP使用URI重寫(xiě)功能

高防IP使用URI重寫(xiě)功能

高防IP使用URI重寫(xiě)功能

什么是URI重寫(xiě)?為什么要用URI重寫(xiě)?

  • URI 重寫(xiě)顧名思義,即在用戶(hù)通過(guò)瀏覽器等設備訪(fǎng)問(wèn)某個(gè)頁(yè)面地址時(shí),訪(fǎng)問(wèn)的地址是A,但是對于服務(wù)端來(lái)說(shuō),看到的是B。
  • 該功能能夠很好的隱藏服務(wù)端真實(shí)的訪(fǎng)問(wèn)路徑,進(jìn)一步避免服務(wù)端路徑被攻擊,同時(shí),對于某些源碼不能(或不易)改變的項目而言,還可以更好的優(yōu)化訪(fǎng)問(wèn)路徑,提高搜索引擎的收錄和排名

如何使用億速云高防IP的URI重寫(xiě)功能?

準備工作

  • 在購買(mǎi)的高防IP的網(wǎng)站防護中,正確的創(chuàng )建域名,并能夠通過(guò)瀏覽器正常訪(fǎng)問(wèn)。

具體操作

  • 開(kāi)啟功能


  • 設置規則
  1. 上圖的2標記處 “待重寫(xiě)URI” 表明要重寫(xiě)的URI,可以寫(xiě)成具體的URI(如/aaa/bbb),也可以使用通配符 “*” 替代要匹配的內容
  2. 3標記處”內部跳轉”,表明通過(guò)高防Ip靜默跳轉,302跳轉會(huì )向客戶(hù)端返回302后重新跳轉到目標URI,301跳轉同理,301跳轉表明永久重定向。
  3. 4標記處 “目標URI” 表明跳轉的目的地,如果待重寫(xiě)URI中是具體的,則此處應寫(xiě)具體的URI(如/bbb/ccc).如果使用了通配符,則以 “$數字”來(lái)代表對應的通配符。
  4. 5標記處 “優(yōu)先級”,數字越大,優(yōu)先級越高

  1. 上圖表明,網(wǎng)站訪(fǎng)問(wèn)/image/demo/cms/banner.jpg 的banner(如banner1,banner2) 圖片,會(huì )內部跳轉到 /image/demo/slider/slider-$1.png 的slider-$1圖片(如slider-1,slider-2)。

效果演示(以?xún)炔刻D為例)



注意事項

  1. 待重寫(xiě)URI和目標URI 為對應關(guān)系,要么都是具體的URI地址,要么都含有匹配符。如果含有匹配符,數量上要對應。
  2. URI地址以 / 開(kāi)頭。
国产精品香港三级|日韩精品无码免费专区网站|熟女一区二区三区|一本伊大人香蕉久久网|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>