- rewrite ^/((?!zzadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)([_/\-]+)([0-9]+)([\/]*)$ /index.php?act=show&aid=$3&typestr=$1 last;
- rewrite ^/((?!zzadmin|phpmyadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)/$ /index.php?act=list&typestr=$1 last;
- rewrite ^/((?!zzadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)/class-([0-9]+)-([0-9]+).html /index.php?act=list&classid=$2&PageNo=$3&typestr=$1 last;
- rewrite ^/([\-_A-Za-z0-9]+)$ /$1/ permanent;
- rewrite ^([/_A-Za-z0-9]+)sitemap.(xml|html)$ /index.php?typestr=$1sitemap.$2 last;
- rewrite ^/((?!zzadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)([_/]+)([A-Za-z0-9]+).html /index.php?act=show&aid=$3&typestr=$1 last;
- rewrite ^/((?!zzadmin|templets|uploads|data|images|install|source|Plugins|sitemap|index|robots|favicon).*)/list-([0-9]+)-([0-9]+).html$ /index.php?act=list&tid=$2&PageNo=$3&typestr=$1 last;
- rewrite ^/list-([0-9]+)-([0-9]+).html$ /index.php?act=list&tid=$1&PageNo=$2 last;
- rewrite ^/templets/(.*)article.htm([?_A-Za-z0-9]+)$ /404.html last;
- rewrite ^(.*)/data/(.*).php$ /404.html last;
- rewrite ^(.*)/source/([_\-A-Za-z0-9]+).php([?_A-Za-z0-9]+)$ /404.html last;
- rewrite ^/article_([0-9]+)([\/]*)$ /index.php?act=show&aid=$1&typestr=article_ last;
- rewrite ^/templets/([_\-A-Za-z0-9]+)/style/([_\-A-Za-z0-9]+).css(.*)$ /index.php?act=style&dir=$1&filename=$2 last;
复制代码
|
|