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

 找回密码
 立即注册
搜索

[已答复] 如何把ss7.5的用户空间变成xs6.1那样的伪静态地址呢?

[复制链接]
saleroad 发表于 2009-12-15 14:16:55 | 显示全部楼层 |阅读模式
现在ss7.5,点击用户后,地址是http://www.lubeabc.com/space.php?uid=253,而以前的xs6.1的,则可以是http://www.lubeabc.com/1这样的地址。
而ss7.5的静态规则也依旧是6.1的,不直到怎么修改。
附:原6.1的静态规则
  1. [ISAPI_Rewrite]

  2. # 3600 = 1 hour
  3. CacheClockRate 3600

  4. RepeatLimit 32

  5. # Xs 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 ^/category(.+)$ /index\.php\?action/category/catid$1 [L]
  15. RewriteRule ^/viewnews(.+)$ /index\.php\?action/viewnews/itemid$1 [L]
  16. RewriteRule ^/viewthread(.+)$ /index\.php\?action/viewthread/tid$1 [L]
  17. RewriteRule ^/mygroup(.+)$ /index\.php\?action/mygroup/gid$1 [L]
复制代码
回复

使用道具 举报

lidq.jingwu 发表于 2009-12-15 14:27:08 | 显示全部楼层
修改伪静态规则是要改程序的,不能直接修改伪静态规则,不建议修改。
回复

使用道具 举报

 楼主| saleroad 发表于 2009-12-15 14:54:57 | 显示全部楼层
收到。那就先这样吧。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-11-20 16:35 , Processed in 0.119758 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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