rewrite ^/showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/action/ShowInfo.php?classid=$1&id=$2&page=$3 last; rewrite ^/listinfo-([0-9]+)-([0-9]+).html$ /e/action/ListInfo/index.php?classid=$1&page=$2 last; rewrite ^/infotype-([0-9]+)-([0-9]+).html$ /e/action/InfoType/index.php?ttid=$1&page=$2 last; rewrite ^/tags-(etagid[0-9]+)-([0-9]+).html$ /e/tags/index.php?tagname=$1&page=$2 last; rewrite ^/comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+?).html$ /e/pl/index.php?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6 last; if (!-f $request_filename){ set $rule_0 1$rule_0; } if ($request_uri !~ "^(/d/|/e/|/html/|/images/|/s/|/search/|/skin/|/t/|/ad/)"){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite ^/([0-9a-zA-Z-/]+)/(|index.html|index_[0-9]+.html)$ /e/action/list.php?classid=$1&page=$2 last; rewrite ^/([0-9a-zA-Z-/]+)/([0-9a-zA-Z]+)([_0-9]*).html$ /e/action/show.php?classid=$1&id=$2&page=$3 last; } if (!-e $request_filename) { return 404; }
帝国cms教程
帝国CMS Nginx.conf伪静态规则(本站使用自定义伪静态)
帝国cms教程
51源码
2023-11-28
共人阅读
版权声明:文章搜集于网络,如有侵权请联系本站,转载请说明出处:https://www.51yma.cn/jiaocheng/ECMS/1331.html
文章来源:51源码网-www.251code.com
下一篇: 返回列表
热门推荐
-
01火车头采集发布到帝国cms后为未(待)审核状态设置详解 4329
-
02PHP在线获取VIP会员账号API接口代码 2323
-
03帝国cms数据库如何批量替换字段值 1521
-
04帝国CMS验证码不显示或打叉解决方法总结 1403
-
05帝国cms常见安全配置 删除无用功能保证安全 1102