Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 一直没解决,RMB求助!Rewrite伪静态另类问题,进来看~~~

[复制链接]
追逐者 发表于 2010-11-13 21:57:07 | 显示全部楼层 |阅读模式
本帖最后由 追逐者 于 2010-11-13 22:08 编辑

RMB多少加我QQ报个价吧,或许哪位热心,帮我算了……

问题是:我已经安装Rewrite伪静态了,但是有个问题,http://www.XXX.com/article-1-1.html,article开头的都打不开。
http://www.XXX.com/thread-1-1-1.html,thread开头的都可以打开,都是静态化,为什么article打不开呢?


急求解决,在线等。

                                                  最后,谢谢了。

QQ:656210
 楼主| 追逐者 发表于 2010-11-13 21:58:37 | 显示全部楼层
补充:规则都是在官方复制过去的,应该和大家是一样的。
  1. [ISAPI_Rewrite]

  2. # 3600 = 1 hour
  3. CacheClockRate 3600

  4. RepeatLimit 32

  5. # Protect httpd.ini and httpd.parse.errors files
  6. # from accessing through HTTP
  7. RewriteRule ^(.*)/topic-(.+)\.html\?*(.*)$ $1/portal\.php\?mod=topic&topic=$2&$3
  8. RewriteRule ^(.*)/article-([0-9]+)\.html\?*(.*)$ $1/portal\.php\?mod=article&articleid=$2&$3
  9. RewriteRule ^(.*)/forum-(\w+)-([0-9]+)\.html\?*(.*)$ $1/forum\.php\?mod=forumdisplay&fid=$2&page=$3&$4
  10. RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forum\.php\?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$5
  11. RewriteRule ^(.*)/group-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forum\.php\?mod=group&fid=$2&page=$3&$4
  12. RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/home\.php\?mod=space&$2=$3&$4
  13. RewriteRule ^(.*)/([a-z]+)-(.+)\.html\?*(.*)$ $1/$2\.php\?rewrite=$3&$4
复制代码
回复

使用道具 举报

autolst 发表于 2010-11-13 22:23:28 | 显示全部楼层
RewriteRule ^(.*)/article-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/portal\.php\?mod=view&aid=$2&page=$3&$5
回复

使用道具 举报

autolst 发表于 2010-11-13 22:23:52 | 显示全部楼层
你的规则不对啊!

article-{id}-{page}.html

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-22 15:40 , Processed in 0.138474 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表