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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

x2.5一直无法实现伪静态,求助

[复制链接]
rztvzhy 发表于 2013-5-13 08:39:06 | 显示全部楼层 |阅读模式
论坛反反复复按照网上的方法设置伪静态,一直没有成功,哪位大侠帮着看看啊




配置的iiis和服务器情况

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/topic-(.+)\.html(\?(.*))*$ $1/portal\.php\?mod=topic&topic=$2&$4
RewriteRule ^(.*)/article-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/portal\.php\?mod=view&aid=$2&page=$3&$5
RewriteRule ^(.*)/forum-(\w+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&page=$3&$5
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$6
RewriteRule ^(.*)/group-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=group&fid=$2&page=$3&$5
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html(\?(.*))*$ $1/home\.php\?mod=space&$2=$3&$5
RewriteRule ^(.*)/blog-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/home\.php\?mod=space&uid=$2&do=blog&id=$3&$5
RewriteRule ^(.*)/(fid|tid)-([0-9]+)\.html(\?(.*))*$ $1/index\.php\?action=$2&value=$3&$5

#Other plugins rules written in above

RewriteRule ^(.*)/([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html(\?(.*))*$ $1/plugin\.php\?id=$23&$5

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
哥的八个猜想 发表于 2013-5-13 11:47:57 | 显示全部楼层
伪静态规则本身没有问题,问题还是出在rewrite组件上。
回复

使用道具 举报

YuKuaiWang.com 发表于 2013-5-13 18:56:48 | 显示全部楼层
我用的不是这个 帮不了你 等高手
回复

使用道具 举报

无效楼层,该帖已经被删除
 楼主| rztvzhy 发表于 2013-5-15 14:57:28 | 显示全部楼层
rewrite组建有什么问题呢,谁能帮着解决?
回复

使用道具 举报

0512bbs 发表于 2013-5-17 17:16:11 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

66061923 发表于 2013-5-17 19:21:19 | 显示全部楼层
这样其实挺好的呢
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-15 13:44 , Processed in 0.040476 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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