1 Star 0 Fork 7

原野 / KnifeCMS.ASP

forked from 夜半饿得慌 / KnifeCMS.ASP 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
root.htaccess.asp 4.15 KB
一键复制 编辑 原始数据 按行查看 历史
夜半饿得慌 提交于 2013-09-12 22:34 . KnifeCMS.ASP2.0第一次提交
<%
Function ParseRewritePule()
'http://www.knifecms.com/?content/news/index.html
KnifeCMS.RewriteRule "\?content/(\w+)/([\s\S]*?)"& FileSuffix,"ctl=content&subsys=$1"
'http://www.knifecms.com/?content/news/index_page2.html
KnifeCMS.RewriteRule "\?content/(\w+)/([\s\S]*?)_page(\d+)"& FileSuffix,"ctl=content&subsys=$1&page=$3"
'http://www.knifecms.com/?content/news/345/seourl.html
KnifeCMS.RewriteRule "\?content/(\w+)/(\d+)/([\s\S]*?)"& FileSuffix,"ctl=content&subsys=$1&id=$2"
'http://www.knifecms.com/?content/news/345_2/seourl.html
KnifeCMS.RewriteRule "\?content/(\w+)/(\d+)_(\d+)/([\s\S]*?)"& FileSuffix,"ctl=content&subsys=$1&id=$2&page=$3"
'http://www.knifecms.com/?content/news/category/10/seourl.html
KnifeCMS.RewriteRule "\?content/(\w+)/category/(\d+)/([\s\S]*?)"& FileSuffix,"ctl=content&subsys=$1&category=true&id=$2"
'http://www.knifecms.com/?content/news/category/10_2/seourl.html
KnifeCMS.RewriteRule "\?content/(\w+)/category/(\d+)_(\d+)/([\s\S]*?)"& FileSuffix,"ctl=content&subsys=$1&category=true&id=$2&page=$3"
'http://www.knifecms.com/?vote.html
KnifeCMS.RewriteRule "\?vote"& FileSuffix,"ctl=vote"
'http://www.knifecms.com/?vote_page2.html
KnifeCMS.RewriteRule "\?vote_page(\d+)"& FileSuffix,"ctl=vote&page=$1"
'http://www.knifecms.com/?vote/345/seourl.html
KnifeCMS.RewriteRule "\?vote/(\d+)/([\s\S]*?)"& FileSuffix,"ctl=vote&id=$1"
'http://www.knifecms.com/?vote/category/10/seourl.html
KnifeCMS.RewriteRule "\?vote/category/(\d+)/([\s\S]*?)"& FileSuffix,"ctl=vote&category=true&id=$1"
'http://www.knifecms.com/?vote/category/10_2/seourl.html
KnifeCMS.RewriteRule "\?vote/category/(\d+)_(\d+)/([\s\S]*?)"& FileSuffix,"ctl=vote&category=true&id=$1&page=$2"
'http://www.knifecms.com/?shop.html
KnifeCMS.RewriteRule "\?shop"& FileSuffix,"ctl=shop"
'http://www.knifecms.com/?shop.html
KnifeCMS.RewriteRule "\?shop_page(\d+)"& FileSuffix,"ctl=shop&page=$1"
'http://www.knifecms.com/?shop/33/seourl.html
KnifeCMS.RewriteRule "\?shop/(\d+)/([\s\S]*?)"& FileSuffix,"ctl=shop&id=$1"
'http://www.knifecms.com/?shop/category/10/seourl.html
KnifeCMS.RewriteRule "\?shop/category/(\d+)/([\s\S]*?)"& FileSuffix,"ctl=shop&category=true&id=$1"
'http://www.knifecms.com/?shop/category/10_2/seourl.html
KnifeCMS.RewriteRule "\?shop/category/(\d+)_(\d+)/([\s\S]*?)"& FileSuffix,"ctl=shop&category=true&id=$1&page=$2"
'http://www.knifecms.com/?mycart.html
KnifeCMS.RewriteRule "\?mycart"& FileSuffix,"ctl=mycart"
'http://www.knifecms.com/?mycart/checkout.html
KnifeCMS.RewriteRule "\?mycart/(\w+)"& FileSuffix,"ctl=mycart&action=$1"
'http://www.knifecms.com/?mycart/suc/2011022800535997.html
KnifeCMS.RewriteRule "\?mycart/(\w+)/(\d+)"& FileSuffix,"ctl=mycart&action=$1&orderid=$2"
'http://www.knifecms.com/?order/payresult/2011022800535997.html
KnifeCMS.RewriteRule "\?order/(\w+)/(\d+)"& FileSuffix,"ctl=order&action=$1&orderid=$2"
'http://www.knifecms.com/?login.html
KnifeCMS.RewriteRule "\?login"& FileSuffix,"ctl=login"
'http://www.knifecms.com/?login/out.html
KnifeCMS.RewriteRule "\?login/out"& FileSuffix,"ctl=login&action=out"
'http://www.knifecms.com/?login/result.html
KnifeCMS.RewriteRule "\?login/result"& FileSuffix,"ctl=login&action=result"
'http://www.knifecms.com/?reg.html
KnifeCMS.RewriteRule "\?reg"& FileSuffix,"ctl=reg"
'http://www.knifecms.com/?reg/result.html
KnifeCMS.RewriteRule "\?reg/result"& FileSuffix,"ctl=reg&action=result"
'http://www.knifecms.com/?myhome.html
KnifeCMS.RewriteRule "\?myhome"& FileSuffix,"ctl=myhome"
'http://www.knifecms.com/?myhome/home.html
KnifeCMS.RewriteRule "\?myhome/(\w+)"& FileSuffix,"ctl=myhome&subsys=$1"
'http://www.knifecms.com/?user/2524.html
KnifeCMS.RewriteRule "\?user/(\d+)"& FileSuffix,"ctl=userhome&userid=$1"
'http://www.knifecms.com/?user/2524/mood.html
KnifeCMS.RewriteRule "\?user/(\d+)/(\w+)"& FileSuffix,"ctl=userhome&userid=$1&subsys=$2"
'http://www.knifecms.com/?guestbook.html
KnifeCMS.RewriteRule "\?guestbook"& FileSuffix,"ctl=guestbook"
'http://www.knifecms.com/?error404.html
KnifeCMS.RewriteRule "\?error404"& FileSuffix,"ctl=error404"
KnifeCMS.ParseRewrite
End Function
Call ParseRewritePule()
%>
1
https://gitee.com/yuany/knifecms-asp.git
git@gitee.com:yuany/knifecms-asp.git
yuany
knifecms-asp
KnifeCMS.ASP
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891