rewrite ^(.*)/archiver/((fid|tid)-[w-]+.html)$ $1/archiver/index.php?$2 last;
rewrite ^(.*)/forum-([0-9]+)-([0-9]+).html$ $1/forumdisplay.php?fid=$2&page=$3 last;
rewrite ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/viewthread.php?tid=$2&extra=page%3D$4&page=$3 last;
rewrite ^(.*)/profile-(username|uid)-(.+).html$ $1/viewpro.php?$2=$3 last;
rewrite ^(.*)/space-(username|uid)-(.+).html$ $1/space.php?$2=$3 last;
rewrite ^(.*)/tag-(.+).html$ $1/tag.php?name=$2 last;
LNMP_Discuz的伪静态规则
原创wg_iiGidEaB 博主文章分类:LNMP ©著作权
©著作权归作者所有:来自51CTO博客作者wg_iiGidEaB的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇: LNMP_访问控制
下一篇:LNMP_nginx 代理
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
源代码搭建LNMP
源码编译安装LNMP(Linux + Nginx + MySQL + PHP+keepalived+nfs)
php mysql nginx keepalived nfs -
apache伪静态规则
1、Rewrite规则简介: Rewirte主要的功能就是实现URL的跳转,它的正则表达式是基于Perl语言。可基于服务器级的(httpd.conf)和
apache redirect .htaccess url dns服务器 -
伪静态规则(for Nginx)
伪静态规则(for Nginx)
伪静态 规则 for -
.htaccesss伪静态规则
.htaccesss伪静态规则
规则 静态 .htaccesss -
Typecho的伪静态规则
本文介绍如何开启Typecho伪静态(即URL Rewrite特性)。配置类教程真的过时很快……找最新配置教程吧小伙伴们,这也是我这次的血泪教训。 1 先把各种参数放在最开头 时间:2020/10 Ubuntu18.04 + Typecho1.1 + Apache2 2 配置步骤 ?直接在Typecho后台选择“启用地址重写功能”是不行
Typecho的伪静态规则 apache伪静态把css 排除掉 nginx 伪静态404 phpstudy伪静态规则 宝塔设置thinkphp的伪静态


















