欢迎来到天天文库
浏览记录
ID:14624200
大小:38.00 KB
页数:9页
时间:2018-07-29
《discuz x3.1伪静态规则》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、[ISAPI_Rewrite]#3600=1hourCacheClockRate3600RepeatLimit32#自定义错误页面ErrorDocument404/404/index.html#默认包含了301设置RewriteCond%{HTTP:Host}^uqiwang.com$RewriteRule(.*)http://www.uqiwang.com$1[NC,R=301]#主题分类与分类信息伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*
2、)/type-(w+)-([0-9]+)-([0-9]+).html(?(.*))*$$1/forum.php?mod=forumdisplay&fid=$2&typeid=$3&typeid=$3&filter=typeid&page=$4RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/sort-(w+)-([0-9]+)-([0-9]+).html(?(.*))*$$1/forum.php?mod=forumdisplay&f
3、id=$2&sortid=$3&sortid=$3&filter=sortid&page=$4#门户专题页伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/topic-(.+).html(?(.*))*$$1/portal.php?mod=topic&topic=$2&$4#门户文章页伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/article-([0-9]+)-([0-9]+)
4、.html(?(.*))*$$1/portal.php?mod=view&aid=$2&page=$3&$5#论坛主题列表页伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/forum-(w+)-([0-9]+).html(?(.*))*$$1/forum.php?mod=forumdisplay&fid=$2&page=$3&$5#论坛主题内容页伪静态RewriteCond%{QUERY_STRING}^(.*)$Rewrite
5、Rule^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html(?(.*))*$$1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3&$6#群组主题列表页伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/group-([0-9]+)-([0-9]+).html(?(.*))*$$1/forum.php?mod=group&fid=$
6、2&page=$3&$5#用户个人主页伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/space-(username
7、uid)-(.+).html(?(.*))*$$1/home.php?mod=space&$2=$3&$5#用户日志内容页伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/blog-([0-9]+)-([0-9]+).html(?(.*))*$$1/home.p
8、hp?mod=space&uid=$2&do=blog&id=$3&$5#论坛Archiver页伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/(fid
9、tid)-([0-9]+).html(?(.*))*$$1/index.php?action=$2&value=$3&$5#插件伪静态RewriteCond%{QUERY_STRING}^(.*)$RewriteRule^(.*)/([a-z]+[a-z0-9_]*)-([a-z0-
10、9_-]+).html(?(.*))*$$1/plugin.php?id=$2:$3&$51.2httpd.ini:[ISAPI_Rewrite]#3600=1hourCacheClockRate3600RepeatLimit32#Protecthttpd.iniandhttpd.parse.errorsfiles#fromaccessingthroughHTTPRewriteRule^(.*)/topic-(.+).html(?(.*))*$$1/po
此文档下载收益归作者所有