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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

请有2个太阳的人解决!!ss/xs伪静态与phpwind冲突

[复制链接]
allsj 发表于 2007-4-19 19:32:50 | 显示全部楼层 |阅读模式
#SS/XS伪静态配制
RewriteRule ^/([0-9]+)/spacelist(.+)$ /index.php?uid/$1/action/spacelist/type$2 [L]
RewriteRule ^/([0-9]+)/viewspace(.+)$ /index.php?uid/$1/action/viewspace/itemid$2 [L]
RewriteRule ^/([0-9]+)/viewbbs(.+)$ /index.php?uid/$1/action/viewbbs/tid$2 [L]
RewriteRule ^/([0-9]+)/(.*)$ /index.php?uid/$1/$2 [L]
RewriteRule ^/([0-9]+)$ /index.php?uid/$1 [L]

RewriteRule ^/action(.+)$ /index.php?action$1 [L]
RewriteRule ^/category(.+)$ /index.php?action/category/catid$1 [L]
RewriteRule ^/viewnews(.+)$ /index.php?action/viewnews/itemid$1 [L]
RewriteRule ^/viewthread(.+)$ /index.php?action/viewthread/tid$1 [L]
RewriteRule ^/mygroup(.+)$ /index.php?action/mygroup/gid$1 [L]


# phpwind 伪静态配制
RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)$ $1/archiver/index\.php\?$2
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay\.php\?fid=$2&page=$3
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3
RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html$ $1/viewpro\.php\?$2=$3
RewriteRule ^(.*)-htm-fid-(.*)-search-(.*).html$ $1.php?fid=$2&search=$3
RewriteRule ^(.*)-htm-(.*)fid-(.*)-type-(.*).html$ $1.php?$2fid=$3&type=$4
RewriteRule ^(.*)-htm-(.*)fid-(.*)$ $1.php?$2fid=$3
RewriteRule ^(.*)-htm-(.*)tid-(.*)$ $1.php?$2tid=$3
RewriteRule ^(.*)-htm-(.*)faqjob-(.*)$ $1.php?$2faqjob=$3
RewriteRule ^(.*)-htm-(.*)cateid-(.*)$ $1.php?$2cateid=$3
RewriteRule ^(.*)-htm-H_name-(.*)-action-(.*).html$ $1.php?H_name=$2&action=$3
RewriteRule ^(.*)-htm-H_name-(.*).html$ $1.php?H_name=$2
RewriteRule ^(.*)-htm-action-show-uid-(.*).html$ $1.php?action=show&uid=$2
RewriteRule ^(.*)-htm-action-show-username-(.*).html$ $1.php?action=show&username=$2
RewriteRule ^(.*)-htm-action-(.*).html$ $1.php?action=$2RewriteRule ^(.*)/simple/([a-z0-9_]+.html)$ $1/simple/index.php?$2



这样配制了httpd.ini后
dz论坛和ss/xs都伪静态了,也就是说phpwind的伪静态代码可以拿到dz论坛用
然后由于ss/xs的伪静态代码原因phpwin的模板图片都无法显示 帖子类容这些倒是都静态化了
为什么模板图片无法现实呢,路径都是对的,就是现实不出来,奇怪了..


请高手解决一下 谢谢了
 楼主| allsj 发表于 2007-4-19 19:43:14 | 显示全部楼层

没人哇

啊啊啊啊啊
回复

使用道具 举报

 楼主| allsj 发表于 2007-4-20 01:02:20 | 显示全部楼层
^/([0-9]+)/(.*)$ /index.php? 原来是 这里的 index.php?前面括号的问题呵呵
重新改了一下可以了
现在 ss/xs 和 dz论坛还有 phpwind 都静态了,呵呵`
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-16 11:29 , Processed in 0.024317 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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