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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

最新+IIS+D5.5+SS/XS+space+Rewrite规则+更新20070312

[复制链接]
shineshi 发表于 2007-3-12 19:13:56 | 显示全部楼层
按照该规则重新修改了httpd.ini文件,并重新启动了IIS,但点击用户ID(http://www.pmabc.com/bbs/space-username-jasonwg.html)后,页面出错。
出错信息为:
Access Denied

但服务器对bbs文件夹没有做权限限制,或者与bbs文件夹权限设定并没有关系。
不知如何解决。

问题已解决,原因在于:
在httpd.ini文件中,增加一行代码时,少加了一个bbs文件路径
错误的代码行:
RewriteRule ^(.*)/bbs/space-(username|uid)-(.+)\.html$ $1/space\.php\?$2=$3
正确的代码行:
RewriteRule ^(.*)/bbs/space-(username|uid)-(.+)\.html$ $1/bbs/space\.php\?$2=$3

[ 本帖最后由 shineshi 于 2007-3-12 23:07 编辑 ]
回复

使用道具 举报

beyond_chenlin 发表于 2007-3-12 19:25:20 | 显示全部楼层

回复 #1 it1988.com 的帖子

顶...............................
回复

使用道具 举报

alluse 发表于 2007-3-12 19:30:08 | 显示全部楼层
;P
回复

使用道具 举报

easyker 发表于 2007-3-12 19:44:45 | 显示全部楼层
:) :) :) :)
回复

使用道具 举报

laitest 发表于 2007-3-12 20:01:19 | 显示全部楼层

好东西,谢谢了.

太谢谢楼主了
回复

使用道具 举报

cezami 发表于 2007-3-12 20:01:50 | 显示全部楼层
我是虚拟空间,用哪个文件???
回复

使用道具 举报

无处藏身 发表于 2007-3-12 21:40:49 | 显示全部楼层
不错..留个记号
回复

使用道具 举报

cmx3 发表于 2007-3-12 21:42:28 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

chexing 发表于 2007-3-12 22:30:29 | 显示全部楼层
先顶后下!!!!
回复

使用道具 举报

ybqll 发表于 2007-3-15 17:01:41 | 显示全部楼层
绝世好帖,太及时了,只是没有找到httpd.ini到底在哪个目录下?
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-21 22:54 , Processed in 0.609050 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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