伪静态有两种,一种是带问号的,一种是不带问号的。
带问号的不需要组建就可以设置。
不带问号的就需要组建了,组建名为ISAPI_Rewrite,有组建了还不可以,还需要伪静态规则,规则如下:
以下是关于V6各个模块的rewrite规则
#模型通用
RewriteRule /thread\-(\d+)\-(\d+)\.html /item/show\.asp\?d=$1&m=$2 [N,I]
RewriteRule /thread\-(\d+)\-(\d+)\-(\d+)\.html /item/show\.asp\?d=$1&m=$2&p=$3 [N,I]
RewriteRule /list\-(\d+)\.html /item/list\.asp\?id=$1 [N,I]
RewriteRule /list\-(\d+)\-(\d+)\.html /item/list\.asp\?id=$1&page=$2 [N,I]
#问答系统
RewriteRule /ask/list-(\d+)\.html /ask/showlist\.asp\?id=$1 [N,I]
RewriteRule /ask/list-(\d+)-(\d+)-(\d+)\.html /ask/showlist\.asp\?id=$1&page=$2&m=$3 [N,I]
RewriteRule /ask/show-(\d+)\.html /ask/q\.asp\?id=$1 [N,I]
RewriteRule /ask/show-(\d+)-(\d+)\.html /ask/q\.asp\?id=$1&page=$2 [N,I]
#空间门户
#博客列表
RewriteRule /space/blog-((\%|\w)*) /space/index\.asp\?$1\/blog [N,I]
#日志内容页
RewriteRule /space/list-((\%|\w)*)-(\d+).html /space/index\.asp\?$1\/log\/$3 [N,I]
#相册列表
RewriteRule /space/album-((\%|\w)*) /space/index\.asp\?$1\/album [N,I]
#圈子列表
RewriteRule /space/group-((\%|\w)*) /space/index\.asp\?$1\/group [N,I]
#好友列表
RewriteRule /space/friend-((\%|\w)*) /space/index\.asp\?$1\/friend [N,I]
#文集列表
RewriteRule /space/xx-((\%|\w)*) /space/index\.asp\?$1\/xx [N,I]
#小档案
RewriteRule /space/info-((\%|\w)*) /space/index\.asp\?$1\/info [N,I]
#留言页
RewriteRule /space/message-((\%|\w)*) /space/index\.asp\?$1\/message [N,I]
#公司介绍
RewriteRule /space/intro-((\%|\w)*) /space/index\.asp\?$1\/intro [N,I]
#企业新闻列表页
RewriteRule /space/news-((\%|\w)*) /space/index\.asp\?$1\/news [N,I]
#企业新闻内容页
RewriteRule /space/show-news-((\%|\w)*)-(\d+).html /space/index\.asp\?$1\/shownews\/$3 [N,I]
#产品列表页
RewriteRule /space/product-((\%|\w)*) /space/index\.asp\?$1\/product [N,I]
#产品内容页
RewriteRule /space/show-product-((\%|\w)*)-(\d+).html /space/index\.asp\?$1\/showproduct\/$3 [N,I]
#企业招聘页
RewriteRule /space/job-((\%|\w)*) /space/index\.asp\?$1\/job [N,I]
#荣誉证书列表页
RewriteRule /space/ryzs-((\%|\w)*) /space/index\.asp\?$1\/ryzs [N,I]
#空间首页
RewriteRule /space/friend /space/friend/index.asp [N,I]
RewriteRule /space/((\%|\w)*) /space/index\.asp\?$1 [N,I]
#RewriteRule /space/((\%|\w)*).html /space/index\.asp\?$1 [N,I]