• 6136阅读
  • 0回复

[程序设置问题]类似f2简短伪静态规则备份 [复制链接]

上一主题 下一主题
离线hduxg
 

发帖
1
金币
5
威望
1
只看楼主 倒序阅读 使用道具 楼主  发表于: 2016-06-29
关键词: Array
  1.     rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
  2.     rewrite f(\d+)_(.*)_(.*)$ /thread.php?fid=$1&page=$2&type=$3 last;
  3.     rewrite f(\d+)_(.*)$ /thread.php?fid=$1&page=$2 last;
  4.     rewrite f(\d+)$      /thread.php?fid=$1 last;
  5.     rewrite (\d+)_(.*)_(.*)_(.*).html$ /read.php?tid=$1&page=$2&fpage=$3&uid=$4 last;
  6.     rewrite (\d+)_(.*)_(.*).html$  /read.php?tid=$1&page=$2&fpage=$3 last;
  7.     rewrite (\d+)_(.*).html$   /read.php?tid=$1&page=$2 last;
  8.     rewrite (\d+).html   /read.php?tid=$1 last;
  9.     rewrite ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2 last;
  10.     rewrite ^(.*)/data/(.*)\.(htm|php)$ 404.html last;
  11.     rewrite ^(.*)/attachment/(.*)\.(htm|php)$ 404.html last;
  12.     rewrite ^(.*)/html/(.*)\.(htm|php)$ 404.html last;



快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
提到某人:
选择好友
上一个 下一个