高人指点下,rewrite规则是如何操作的?

itaoo itaoo 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/archiver/((fid|tid)-[\w\-]+\.html)$ $1/archiver/index.php?$2 (1)
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay.php?fid=$2&page=$3 (2)
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread.php?tid=$2&extra=page\%3D$4&page=$3
(3)
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/space.php?$2=$3 (4)
RewriteRule ^(.*)/tag-(.+)\.html$ $1/tag.php?name=$2 (5)
</IfModule>

这是discuz的规则。。

上面5行中 都有$ 符号 ,,还有$1,$2,$3...

这都是什么意思啊?
...全文
评论 5
收藏 已收藏
分享
返回顶部
itaoo
基础编程 21,889 成员 140,329 内容