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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 7.2版本URL伪静态的问题,,求助!

[复制链接]
王晓旭 发表于 2011-1-19 17:43:09 | 显示全部楼层 |阅读模式
第一次使用DISCUZ 我的网站是DEDECMS的,在子目录安装了DISCUZ 7.2版本 设置了伪静态 IIS上加载了rewrite ,社区伪静态正常了,可是我的主站的 www.xxx.com/index.php 打不开了,去掉加载rewrite又正常了 怎么办啊?
xiaoyuwxz 发表于 2011-1-19 18:51:06 | 显示全部楼层
看规则里如果有index.php这一行的,删除掉
回复

使用道具 举报

 楼主| 王晓旭 发表于 2011-1-19 19:02:06 | 显示全部楼层
回复 xiaoyuwxz 的帖子

规则没有 index.php啊。。
[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/archiver/((fid|tid)-[0-9]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3


# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]

RewriteRule /index\.html /index\.php
RewriteRule /sitemap.htm /sitemap.php
RewriteRule /([a-zA-Z0-9]*)/([a-zA-Z0-9]*)\.html /$1/$2\.php
RewriteRule /([a-zA-Z0-9]*)/(.*)detail_([0-9]+)\.html /$1/$2detail\.php\?$2id=$3
RewriteRule /([a-zA-Z0-9]*)/index_([0-9]+)\.html /$1/index\.php\?PageNo=$2
RewriteRule /news/news_([0-9]+)\.html /news/news\.php\?newsclassid=$1
RewriteRule /news/news_([0-9]+)_([0-9]+)\.html /news/news\.php\?newsclassid=$1&PageNo=$2
RewriteRule /zp/index_(.*)_([0-9]+)\.html /zp/index\.php\?company=$1&PageNo=$2
RewriteRule /zp/company_([0-9]+)\.html /zp/company\.php\?comid=$1
RewriteRule /jianzhao/index_(.*)_([0-9]+)\.html /jianzhao/index\.php\?keyword=$1&PageNo=$2
回复

使用道具 举报

统赢天下 发表于 2011-1-19 22:36:20 | 显示全部楼层
我今天也发现了一个问题,原来Rewrite需要users权限,
回复

使用道具 举报

hellokai 发表于 2011-1-22 09:55:35 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

plr000 发表于 2011-1-24 23:26:41 | 显示全部楼层
顶顶更健康  http://www.imeip.com http://www.178tc.com http://www.hlsky.net http://bbs.hlsky.net
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-22 19:35 , Processed in 0.142567 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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