技術支持文檔

友價域名交易系統nginx環境的偽靜態規則

  • 最后更新:2019-05-27 10:38 閱讀:11360

rewrite vip(.*) /shop/view.php?str=$1 last;

rewrite ^/(.*)/search(.*).html /$1/index.php?str=$2 last;

rewrite ^/(.*)/view([0-9]*).html /$1/view.php?id=$2 last;

rewrite ^/(.*)/(.*)list(.*).html /$1/$2list.php?str=$3 last;

rewrite ^/(.*)/(.*)view(.*).html /$1/$2view.php?id=$3 last;

rewrite ^/goods/([0-9]*).html /goods/view.php?id=$1 last;

rewrite ^/news/([0-9]*).html /news/view.php?id=$1 last;

rewrite ^/shop/([0-9]*).html /shop/view.php?id=$1 last;

rewrite ^/(.*)/goods/([0-9]*).html /$1/goods/view.php?id=$2 last;

rewrite ^/(.*)/news/([0-9]*).html /$1/news/view.php?id=$2 last;

rewrite ^/(.*)/shop/([0-9]*).html /$1/shop/view.php?id=$2 last;


if ($host = 'yj99.cn' ) {

rewrite ^/(.*)$ http://www.idvrar.live/$1 permanent;

}


rewrite ^(?i)/config/ueditor/php/upload/(.*).PHP /css/ last;

rewrite ^(?i)/config/ueditor/php/upload/(.*).asp /css/ last;

rewrite ^(?i)/config/ueditor/php/upload1/(.*).php /css/ last;

rewrite ^(?i)/config/ueditor/php/upload1/(.*).asp /css/ last;

rewrite ^(?i)/config/ueditor/php/upload2/(.*).php /css/ last;

rewrite ^(?i)/config/ueditor/php/upload2/(.*).asp /css/ last;

rewrite ^(?i)/config/ueditor/php/upload3/(.*).php /css/ last;

rewrite ^(?i)/config/ueditor/php/upload3/(.*).asp /css/ last;

rewrite ^(?i)/css/(.*).php /css/ last;

rewrite ^(?i)/css/(.*).asp /css/ last;

rewrite ^(?i)/js/(.*).php /css/ last;

rewrite ^(?i)/js/(.*).asp /css/ last;

rewrite ^(?i)/homeimg/(.*).php /css/ last;

rewrite ^(?i)/homeimg/(.*).asp /css/ last;

rewrite ^(?i)/img/(.*).php /css/ last;

rewrite ^(?i)/img/(.*).asp /css/ last;

rewrite ^(?i)/upload/(.*).php /css/ last;

rewrite ^(?i)/upload/(.*).asp /css/ last;


  • 與本文相關的文章,或許對您有用 (小提示:支持鍵盤快捷翻頁 ←上一頁 下一頁→)
  • ·什么是域名的認證IP
  • 波浪
  • 波浪
Copyright ? 2013-2019 yj99.cn All Rights Reserved. 友價房產網源碼 版權所有
溫州友價網絡科技有限公司   備案號-浙ICP備12001311號   對公合作銀行-招商銀行   百度統計
  QQ咨詢

購買源碼 售前咨詢 私人訂制 售后技術

  咨詢熱線

0577-67068160
(早9:00-晚6:00)

  微信咨詢

掃碼關注
點點租

  返回頂部
击鼓迎福走势图