随便撸(www.suibianlu.com)精品网站源码,织梦建站模版,游戏源代码分享平台

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

时间:2019-12-11[其它cms教程]作者:随便撸

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 = 'suibianlu.com' ) {

rewrite ^/(.*)$ http://www.suibianlu.com/$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;


本文标签:友价源码教程 

转载请注明来源:友价域名交易系统nginx环境的伪静态规则

本文永久链接地址:https://www.suibianlu.com/17214.html

郑重声明:
本站所有内容均由互联网收集整理、网友上传,并且以计算机技术研究交流为目的,仅供大家参考、学习,不存在任何商业目的与商业用途。
若您需要商业运营或用于其他商业活动,请您购买正版授权并合法使用。 我们不承担任何技术及版权问题,且不对任何资源负法律责任。
如无法链接失效或侵犯版权,请给我们来信:admin#suibianlu.com

Top