365建站器v12隆重发布,全新的界面,全新的体验,全新的功能,您值得佣有! 365建站器v12隆重发布! 立即查看

linux下365程序伪静态规则

发表在 功能交流/求助 2017-6-7 12:26:14 上一主题 下一主题 0 5629

rewrite ^/((?!zzadmin|phpmyadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)([\/])$ /plus/list.php?typestr=$1 last;
rewrite ^/((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)([_/]+)([A-Za-z0-9]+).html /plus/show.php?aid=$3&typestr=$1 last;
rewrite ^/((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)/list-([0-9]+)-([0-9]+).html$ /plus/list.php?tid=$2&PageNo=$3&typestr=$1 last;
rewrite ^/list-([0-9]+)-([0-9]+).html$ /plus/list.php?tid=$1&PageNo=$2 last;
rewrite ^/plus/ad_js.php(.*)$ /plus/api.php$1 last;
rewrite ^/templets/(.*)article.htm([?_A-Za-z0-9]+)$ /plus/404.html last;
rewrite ^(.*)/data/(.*).php$ /plus/404.html last;
rewrite ^(.*)/include/([_\-A-Za-z0-9]+).php([?_A-Za-z0-9]+)$ /plus/404.html last;
rewrite ^/topic_([0-9]+)([\/]*)$ /plus/show.php?aid=$1&typestr=topic_ last;
rewrite ^/templets/([_\-A-Za-z0-9]+)/style/([_\-A-Za-z0-9]+).css(.*)$ /plus/style.php?dir=$1&filename=$2 last;
rewrite ^/sitemap.xml$ /plus/list.php?typestr=sitemap.xml last;

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则