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

 找回密码
 立即注册
搜索

[已答复] 请求帮助2.0防静态一点日志就回到自己的用户中心了

[复制链接]
kingfyy001 发表于 2009-9-17 20:20:44 | 显示全部楼层 |阅读模式
本帖最后由 玻璃屋女孩 于 2009-9-17 20:22 编辑

http://u.1hou.net/network.html 随便点一下日志就到自己的用户中心了 点随便看看里面任何连接都转到自己的用户中心
没防静态之前 动态是好使的 是静态规则不对 还是后台设置有问题啊 急!


RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)$ $1/archiver/index\.php\?$2
RewriteRule ^(.*)/profile-(username|uid)-(.+?)\.html$ $1 iewpro\.php\?$2=$3
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/space\.php\?$2=$3
RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3
RewriteRule ^/(space|network)-(.+)\.html$ /$1\.php\?rewrite=$2 [L]
RewriteRule ^/(space|network)\.html$ /$1\.php [L]
RewriteRule ^/([0-9]+)$ /space\.php\?uid=$1 [L]

RewriteRule ^/index\.html$ /index\.php [L]
RewriteRule ^/blog\.html$ /blog\.php [L]
RewriteRule ^/album\.html$ /album\.php [L]



有兄弟知道挖?帮个忙撒!谢谢了!
回复

使用道具 举报

玻璃屋女孩 发表于 2009-9-17 20:22:12 | 显示全部楼层
关于rewrite规则你参考下
apache
http://faq.comsenz.com/viewnews-55
IIS
http://faq.comsenz.com/viewnews-11
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-11 13:37 , Processed in 0.116892 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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