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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑问] 为什么SS我设置了Rewrite伪静态我其他连接都可以正常访问,列表页就不能呢?

[复制链接]
Linux.Garry 发表于 2010-12-10 15:13:00 | 显示全部楼层 |阅读模式
我的ISAPI_Rewrite规则如下!


  1. [ISAPI_Rewrite]
  2. # 3600 = 1 hour
  3. CacheClockRate 3600
  4. RepeatLimit 32
  5. # 注意是 SupeSite Rewrite规则
  6. # 独立主机用户
  7. # 修改以下语句中的 /supesite 修改为你的SupeSite目录地址,如果程序放在根目录中,请将 /supesite 修改为 /
  8. RewriteRule ^/([0-9]+)$ /index\.php\?uid/$1 [L]
  9. RewriteRule ^/([0-9]+)/spacelist(.+)$ /index\.php\?uid/$1/action/spacelist/type$2 [L]
  10. RewriteRule ^/([0-9]+)/viewspace(.+)$ /index\.php\?uid/$1/action/viewspace/itemid$2 [L]
  11. RewriteRule ^/([0-9]+)/viewbbs(.+)$ /index\.php\?uid/$1/action/viewbbs/tid$2 [L]
  12. RewriteRule ^/([0-9]+)/(.*)$ /index\.php\?uid/$1/$2 [L]
  13. RewriteRule ^/action(.+)$ /index\.php\?action$1 [L]
  14. RewriteRule ^/viewnews(.+)$ /index\.php\?action/viewnews/itemid$1 [L]
  15. RewriteRule ^/viewthread(.+)$ /index\.php\?action/viewthread/tid$1 [L]
  16. RewriteRule ^/mygroup(.+)$ /index\.php\?action/mygroup/gid$1 [L]
  17. RewriteRule ^/([0-9]+)$ /index\.php\?uid/$1 [L]
  18. RewriteRule ^/([0-9]+)/spacelist(.+)$ /index\.php\?uid/$1/action/spacelist/type$2 [L]
  19. RewriteRule ^/([0-9]+)/viewspace(.+)$ /index\.php\?uid/$1/action/viewspace/itemid$2 [L]
  20. RewriteRule ^/([0-9]+)/viewbbs(.+)$ /index\.php\?uid/$1/action/viewbbs/tid$2 [L]
  21. RewriteRule ^/([0-9]+)/(.*)$ /index\.php\?uid/$1/$2 [L]
  22. RewriteRule ^/action(.+)$ /index\.php\?action$1 [L]
  23. RewriteRule ^/category(.+)$ /index\.php\?action/category/catid$1 [L]
  24. RewriteRule ^/viewnews(.+)$ /index\.php\?action/viewnews/itemid$1 [L]
  25. RewriteRule ^/viewthread(.+)$ /index\.php\?action/viewthread/tid$1 [L]
  26. RewriteRule ^/mygroup(.+)$ /index\.php\?action/mygroup/gid$1

复制代码

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

本版积分规则

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

GMT+8, 2024-11-15 15:12 , Processed in 0.020798 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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