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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑问] SS7.5,Apache下,伪静态后TAG不成功

[复制链接]
saleroad 发表于 2011-8-13 11:55:47 | 显示全部楼层 |阅读模式
欣腾windows2003,apache2.17版本,用的是.htaccess文件实现的,规则就是官方的:
  1. ### 将 RewriteEngine 模式打开
  2. RewriteEngine On
  3. ### 修改以下语句中的 /SupeSite 修改为你的SupeSite目录地址,如果程序放在根目录中,请将 /SupeSite 修改为 /
  4. RewriteBase /
  5. ### Rewrite 系统规则请勿修改
  6. RewriteRule ^([0-9]+)/spacelist(.+)$ index.php?uid/$1/action/spacelist/type$2 [L]
  7. RewriteRule ^([0-9]+)/viewspace(.+)$ index.php?uid/$1/action/viewspace/itemid$2 [L]
  8. RewriteRule ^([0-9]+)/viewbbs(.+)$ index.php?uid/$1/action/viewbbs/tid$2 [L]
  9. RewriteRule ^([0-9]+)/(.*)$ index.php?uid/$1/$2 [L]
  10. RewriteRule ^([0-9]+)$ index.php?uid/$1 [L]
  11. RewriteRule ^action(.+)$ index.php?action$1 [L]
  12. RewriteRule ^category(.+)$ index.php?action/category/catid$1 [L]
  13. RewriteRule ^viewnews(.+)$ index.php?action/viewnews/itemid$1 [L]
  14. RewriteRule ^viewthread(.+)$ index.php?action/viewthread/tid$1 [L]
  15. RewriteRule ^mygroup(.+)$ index.php?action/mygroup/gid$1 [L]
复制代码

伪静态后,板块、栏目、页面都可以伪静态,但点击文章里面的TAG,就会出现403错误。比如:
http://www.lubesale.com/viewnews-23099.html点击下面TAG,就会出现403页面:
http://www.lubesale.com/action-tag-tagname-%C8%F3%BB%AC%D3%CD.html
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-5-17 11:34 , Processed in 0.104732 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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