- 晨曦初露2011-01-20金牌会员1303
网上找了大半天,DEDE的伪静态的,httpd.ini规则一大堆,.htaccess的一根毛的都没有(4.X的倒是有一个……)
网站源码那些都改好的了,就差规则了
大家帮下,我自己转的不知道怎么回事,一开就404
找到两个,大家都帮忙转下洛
第一个:- [ISAPI_Rewrite]
- - # 缓存3600秒 = 1 小时(hour)
- CacheClockRate 3600
- - RepeatLimit 32
- - #dedecms Rewrite规则
- RewriteRule ^(.*)/index\.html $1/index\.php
- RewriteRule ^(.*)/list-([0-9]+)\.html $1/plus/list\.php\?tid=$2
- RewriteRule ^(.*)/list-([0-9]+)-([0-9]+)-([0-9]+)\.html $1/plus/list\.php\?tid=$2&TotalResult=$3&PageNo=$4
- RewriteRule ^(.*)/view-([0-9]+)-([0-9]+)\.html $1/plus/view\.php\?arcID=$2&pageno=$3复制代码第二个:- [ISAPI_Rewrite]
- - RepeatLimit 32
- - # Protect httpd.ini and httpd.parse.errors files
- # from accessing through HTTP
- - #伪静态列表页#
- RewriteRule ^(.*)/list-([0-9]+)\.html$ $1/plus/list\.php\?tid=$2 [I,O]
- RewriteRule ^(.*)/list-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/plus/list\.php\?tid=$2&totalresult=$3&PageNo=$4 [I,O]
- - #伪静态文档页#
- RewriteRule ^(.*)/view-([0-9]+)-1\.html$ $1/plus/view\.php\?arcID=$2 [I,O]
- RewriteRule ^(.*)/view-([0-9]+)-([0-9]+)\.html$ $1/plus/view\.php\?aid=$2&pageno=3 [I,O]
- - #伪静态tags#
- RewriteRule ^(.*)/tags/(.+)\.html$ $1/tags\.php\?/$2/ [I,O]
- - #伪静态search#
- RewriteRule ^(.*)/search/(.+)\.html$ $1/plus/search\.php\?keyword=$2 [I,O]
- - #个人空间#
- RewriteRule ^(.*)/([0-9]+)$ $1/member/index\.php\?mid=$2 [I,O]复制代码
[ 本帖最后由 晨曦初露 于 2011-1-20 08:43 编辑 ]