源码论坛,商业源码下载,尽在锦尚中国商业源码论坛
标题:
[分享]自己写的网人仿163ksp5伪静态规则
[打印本页]
作者:
fishstone
时间:
2011-4-21 17:25
标题:
[分享]自己写的网人仿163ksp5伪静态规则
不知道网上有没有这东西
反正我当时是没有找到
初始版本是下载的网人官方伪静态规则
但是里面的内容太少了
完全不适合仿163ksp5
于是我拿那个版本自己写了个
但是基于种种原因现在我已经放弃网人仿163k了
之前写的伪静态规则拿出来共享
各位有其他需求的话请自行修改,我不会再更新了
另:首页如果不生成静态的话“#顶级无参页面”下面那行请自行注释掉
不设置隐藏或出售了,觉得有用的朋友请帮忙顶一下,谢谢
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# WRMPS 6.2.0 Rewrite 规则
# fishstone@163.com 制作
#顶级无参页面
RewriteRule ^(.*)/([a-zA-Z0-9]+)\.html$ $1/$2\.asp [I]
RewriteRule ^(.*)/shop/$ $1/company/index\.asp [I]
RewriteRule ^(.*)/shop$ $1/company/index\.asp [I]
RewriteRule ^(.*)/help/$ $1/about/help\.asp [I]
RewriteRule ^(.*)/help$ $1/about/help\.asp [I]
#RewriteRule ^(.*)/([a-zA-Z0-9]+)\.html
#城市分站
RewriteRule ^(.*)/city_([0-9]+)/$ $1/Index\.asp\?ConversionCity=$2 [I]
RewriteRule ^(.*)/city_([0-9]+)$ $1/Index\.asp\?ConversionCity=$2 [I]
#简/完整版首页
RewriteRule ^(.*)/index_([0-9]+)/$ $1/Index\.asp\?Briefness=$2 [I]
RewriteRule ^(.*)/index_([0-9]+)$ $1/Index\.asp\?Briefness=$2 [I]
#帮助
RewriteRule ^(.*)/about/help_([0-9]+)\.html$ $1/about/help\.asp?id=$2 [I]
#无参数页面
RewriteRule ^(.*)/([a-zA-Z]+)/([a-zA-Z]+)\.html$ $1/$2/$3\.asp [I]
#含show单词的页面
RewriteRule ^(.*)/([a-zA-Z]+)/show_([0-9]+)\.html$ $1/$2/show\.asp?id=$3 [I]
#团购
RewriteRule ^(.*)/tuangou/tuangou_([0-9]+)\.html$ $1/tuangou/tuangou\.asp\?activeid=$2 [I]
#招聘求职
RewriteRule ^(.*)/job/company_([0-9]+)\.html$ $1/job/company\.asp\?id=$2 [I]
RewriteRule ^(.*)/job/jianli_([0-9]+)\.html$ $1/job/jianli\.asp\?jobid=$2 [I]
RewriteRule ^(.*)/job/zhiwei_([0-9]+)_([0-9]+)\.html$ $1/job/zhiwei\.asp\?userid=$2&zhiweiid=$3 [I]
RewriteRule ^(.*)/job/job_([a-zA-Z]+)_([0-9]+)\.html$ $1/job/job_$2\.asp\?categoryid=$3 [I]
#店铺
RewriteRule ^(.*)/co_([0-9]+)/$ $1/company/co\.asp\?ID=$2 [I]
RewriteRule ^(.*)/co_([0-9]+)$ $1/company/co\.asp\?ID=$2 [I]
RewriteRule ^(.*)/company/([a-zA-Z]+)_([0-9]+)\.html$ $1/company/$2\.asp\?ID=$3 [I]
RewriteRule ^(.*)/company/([a-zA-Z]+)_([0-9]+)_p([0-9]+)\.html$ $1/company/$2\.asp\?ID=$3&page=$4 [I]
#照片库
RewriteRule ^(.*)/photo/picsa_([0-9]+)_([0-9]+)\.html$ $1/photo/picsa\.asp\?colname=$2&page=$3 [I]
RewriteRule ^(.*)/photo/picsa_([0-9]+)\.html$ $1/photo/picsa\.asp\?colname=$2 [I]
#列表页及详细页面
RewriteRule ^(.*)/([a-zA-Z]+)/list_([0-9]+)\.html$ $1/$2/list\.asp\?categoryid=$3&styleid=$3 [I]
RewriteRule ^(.*)/([a-zA-Z]+)/list_([0-9]+)_p([0-9]+)\.html$ $1/$2/list\.asp\?categoryid=$3&styleid=$3&page=$4 [I]
RewriteRule ^(.*)/([a-zA-Z]+)/show_([0-9]+)_([0-9]+)\.html$ $1/$2/show\.asp\?kind=$4&id=$3 [I]
RewriteRule ^(.*)/([a-zA-Z]+)/bianming_([0-9]+)\.html$ $1/$2/show\.asp\?id=$3 [I]
RewriteRule ^(.*)/([a-zA-Z]+)/listtit_([0-9]+)\.html$ $1/$2/list\.asp\?styleid=$3 [I]
RewriteRule ^(.*)/([a-zA-Z]+)/index_([0-9]+)\.html$ $1/$2/index\.asp\?categoryid=$3 [I]
RewriteRule ^(.*)/([a-zA-Z]+)/photo_([0-9]+)\.html$ $1/$2/photo\.asp\?id=$3 [I]
RewriteRule ^(.*)/([a-zA-Z]+)/help_([0-9]+)_([0-9]+)\.html$ $1/$2/help\.asp\?id=$3&categoryid=$4 [I]
#翻页
RewriteRule ^(.*)/([a-zA-Z]+)/([a-zA-Z]+)_([a-zA-Z]+)_p([0-9]+)\.html$ $1/$2/$3_$4\.asp\?page=$5 [I]
RewriteRule ^(.*)/([a-zA-Z]+)/([a-zA-Z]+)_p([0-9]+)\.html$ $1/$2/$3.asp\?page=$4 [I]
#点评
RewriteRule ^(.*)/re_([0-9]+)_([0-9]+)/$ $1/Company/Critique/Index\.asp\?ComID=$2&Page=$3 [I]
RewriteRule ^(.*)/re_([0-9]+)_([0-9]+)$ $1/Company/Critique/Index\.asp\?ComID=$2&Page=$3 [I]
#公告
RewriteRule ^(.*)/notice/notice_([0-9]+)\.html$ $1/notice/notice\.asp\?id=$2 [I]
#列表页,文章、信息、店铺、优惠券
RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([0-9]+)_([0-9]+)_([0-9]+)/$ $1/$2/Class\.asp\?ID=$3&Page=$4 [I]
RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([0-9]+)_([0-9]+)_([0-9]+)$ $1/$2/Class\.asp\?ID=$3&Page=$4 [I]
#内容查看页
RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([a-z0-9A-Z]+)_([0-9]+)/$ $1/$2/show\.asp\?ID=$3&Page=$4 [I]
RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([a-z0-9A-Z]+)_([0-9]+)$ $1/$2/show\.asp\?ID=$3&Page=$4 [I]
#自助建站
RewriteRule ^(.*)/co/([0-9]+)/([a-zA-Z]+)_([0-9]+).html$ $1/co/$2/$3\.asp\?SID=$4 [I]
RewriteRule ^(.*)/co/([0-9]+)/([a-zA-Z]+)_list_([0-9]+)_([0-9]+).html$ $1/co/$2/$3\.asp\?sortid=$4&Page=$5 [I]
复制代码
作者:
zy2k
时间:
2011-7-17 08:10
谢谢,好多人找呢,怎么就没找到呢!顶一下
欢迎光临 源码论坛,商业源码下载,尽在锦尚中国商业源码论坛 (https://bbs.52jscn.com/)
Powered by Discuz! X3.3