RewriteRule ^(.*)/space\/((\w|\s)+)((\/?))?$ $1/space/index.aspx?user=$2
里边的正则表达式代表啥意思
里边的正则表达式代表啥意思
解决方案 »
- CKeditor继续求解答
- 帮我呀,我为什么没有调通 sqlserver2000调用net写的dll (com
- 关于linkbutton imagebutton 回车提交事件问题
- 还是没解决,IIS的设置,超挑战!!!
- 请问:我购物车是用Session+DataTable作的,我想删除DataTable中的一行怎么办啊?在线急等!!!!!!!!!!!
- 在ASP.NET的cs代码中获取页面中的<div>对象
- 探讨一个可行的方案,其实就是如何聚集论坛的所有文章
- datalist 遍历 小问题,请大家帮忙
- SSO
- CheckBoxList循环读取勾选的疑问
- 请教AjaxControlToolkit.dll 控件使用,比如TabContainer的使用?
- 判断访问者是否是浏览器
CacheClockRate 3600RepeatLimit 32# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
//DZ6.0的重写规则
RewriteRule ^(.*)/archiver/((fid|tid)-[0-9]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay\.php\?fid=$2&page=$3
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3
RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html$ $1/viewpro\.php\?$2=$3
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/space\.php\?$2=$3
RewriteRule ^(.*)/tag-(.+)\.html$ $1/tag\.php\?name=$2RewriteRule ^(.*)/ivideo(-tv-([0-9]+))?(-ti-([0-9]+))?(-tc-([0-9]+))?(-page-([0-9]+))?\.html$ $1/ivideo\.php\?tv=$3&ti=$5&tc=$7&page=$9
RewriteRule ^(.*)/ispecial(-tv-([0-9]+))?(-ti-([0-9]+))?(-tc-([0-9]+))?(-page-([0-9]+))?\.html$ $1/ispecial\.php\?tv=$3&ti=$5&tc=$7&page=$9
RewriteRule ^(.*)/icategory\.html$ $1/icategory\.php
RewriteRule ^(.*)/category-cid-([0-9]+)(-tag-([^-]*))?(-timelimit-([0-9]+))?(-orderlimit-([0-9]+))?(-page-([0-9]+))?\.html$ $1/category\.php\?cid=$2&tag=$4&timelimit=$6&orderlimit=$8&page=$10
RewriteRule ^(.*)/vspace-(mid|username)-(.+)\.html$ $1/vspace\.php\?$2=$3
RewriteRule ^(.*)/video-(vid|ivid)-(.+)\.html$ $1/video\.php\?$2=$3
RewriteRule ^(.*)/special-spid-([0-9]+)\.html$ $1/special\.php\?spid=$2
ECSHOP的重写规则
RewriteRule ^(.*)/category$ $1/index\.php\ [I]
RewriteRule ^(.*)/feed-c([0-9]+).xml$ $1/feed\.php\?cat=$2 [I]
RewriteRule ^(.*)/feed-b([0-9]+).xml$ $1/feed\.php\?brand=$2 [I]
RewriteRule ^(.*)/feed.xml$ $1/feed\.php\ [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3 [I]
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2 [I]
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$ $1/goods\.php\?id=$2 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2 [I]
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$ $1/article\.php\?id=$2 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html $1/brand\.php\?id=$2&cat=$3&page=$4&sort=$5&order=$6 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3&page=$4 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3 [I]
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html $1/brand\.php\?id=$2 [I]
RewriteRule ^(.*)/tag-(.*)\.html $1/search\.php\?keywords=$2 [I]
RewriteRule ^(.*)/snatch-([0-9]+)\.html$ $1/snatch\.php\?id=$2 [I]
RewriteRule ^(.*)/group_buy-([0-9]+)\.html$ $1/group_buy\.php\?act=view&id=$2 [I]DZNT2.1的重写规则
#Start dznt URL Rewrite settings RewriteRule ^(.*)/userinfo-([0-9]+)\.html$ $1/userinfo.aspx?userid=$2
RewriteRule ^(.*)/showforum-([0-9]+)\.html$ $1/showforum.aspx?forumid=$2
RewriteRule ^(.*)/showtopic-([0-9]+)\.html$ $1/showtopic.aspx?topicid=$2
RewriteRule ^(.*)/showforum-([0-9]+)-([0-9]+)\.html$ $1/showforum.aspx?forumid=$2&page=$3
RewriteRule ^(.*)/showtopic-([0-9]+)-([0-9]+)\.html$ $1/showtopic.aspx?topicid=$2&page=$3
RewriteRule ^(.*)/archiver/showforum-([0-9]+)\.html$ $1/archiver/showforum.aspx?forumid=$2
RewriteRule ^(.*)/archiver/showtopic-([0-9]+)\.html$ $1/archiver/showtopic.aspx?topicid=$2
RewriteRule ^(.*)/archiver/showtopic-([0-9]+)-([0-9]+)\.html$ $1/archiver/showtopic.aspx?topicid=$2&page=$3
RewriteRule ^(.*)/archiver/showforum-([0-9]+)-([0-9]+)\.html$ $1/archiver/showforum.aspx?forumid=$2&page=$3
RewriteRule ^(.*)/tools/rss-([0-9]+)\.html$ $1/tools/rss.aspx?forumid=$2
RewriteRule ^(.*)/tools/spacerss-([0-9]+)\.html$ $1/tools/rss.aspx?uid=$2&type=space
RewriteRule ^(.*)/tools/photorss-([0-9]+)\.html$ $1/tools/rss.aspx?uid=$2&type=photo
RewriteRule ^(.*)/space\/((\w|\s)+)((\/?))?$ $1/space/index.aspx?user=$2
RewriteRule ^(.*)/space\/((\w|\s|-)+)((\/?))?\?((.*)+)$ $1/space/index.aspx?user=$2&$6 RewriteRule ^(.*)/showdebate-([0-9]+)\.html$ $1/showdebate.aspx?topicid=$2
RewriteRule ^(.*)/showbonus-([0-9]+)\.html$ $1/showbonus.aspx?topicid=$2 RewriteRule ^(.*)/postgoods-(\d+)*.html$ $1/postgoods.aspx?categoryid=$2
RewriteRule ^(.*)/showgoodslist-(\d+)(-(\d+))?.html$ $1/showgoodslist.aspx?categoryid=$2&page=$4
RewriteRule ^(.*)/showgoods-(\d+)*.html$ $1/showgoods.aspx?goodsid=$2#End dznt URL Rewrite settings
-------------
代表多种URL,不过又有一定的限制,这就是正则
\w表示[a-zA-Z_0-9],\s表示空格 $1表示捕获组,有时候$表示结尾要讲估计也讲不清楚,你最好自己去看正则