技术支持文档

友价域名交易系统nginx环境的伪静态规则

  • 最后更新:2019-05-27 10:38 阅读:4432

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.yj99.cn/$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)

  微信咨询

扫码关注
点点租

  返回顶部