user-pic

一CGI Error 的解决方法

Vote 0 Votes

一笑曾经写过两篇关于在Windows 2003的IIS+PHP+MySQL+Perl组合上安装Movable Type 3.2以上版本时,解决屏幕显示下面提示的解决办法。

CGI Error:The specified CGI application misbehaved by not returning a complete set of HTTP headers.
的文章,一篇是使用“权限ActivePerl以ISAPI方式解析CGI程序”解决的,另一篇文章则是官方给出的方法

我不推荐“权限ActivePerl以ISAPI方式解析CGI程序”的解决办法,因为Movabletype在ISAPI方式解析下很容易出现错误,相信这也是官方为什么不使用这个方法的原因。

而官方的方法也不完全解决这个方法,他们认为导致Movable Type在IIS 6.0(Windows 2003)上安装出现CGI Error的原因是:在Windows 2003 Server下,Movable Type的当前工作路径与CGI脚本路径并不相同。

而我运行mt-check.cgi,发现mt-check.cgi(出现这个问题的时候该check是可以运行的) 并没有出现:
# Current working directory: (path)
# MT home directory: (different path)


所以官方的方法并未能解决该CGI错误,于是昨天晚上我登上服务器进行了查看。因为我是操作面版时,进行权限设置的时候出现该问题,所以我目录权限中入手。

最后发现了显示该CGI 错误提示的原因:目录权限不够。解决方法:进入IIS 在网站“权限”中,将“列出文件夹目录”打勾即可。

Add a Reply

Forum Groups

Blogcs 基于MT平台的BSP

MovableType 中文化

1 0

Last Topic: Movable Type 中文化 - 平生一笑 by bb on 2008年10月11日

1 0

Last Topic: Zhu8's Weblog:猪八的网:浮生志 by Zhu8 on 2008年10月16日

MovableType 问题咨询

Be the first to post a topic in this forum

MovableType 使用

16 11

Last Topic: Image::Magick 模块的安装 by bb on 2008年11月 9日

30 35

Last Topic: MT-Twitter:将MT文章同步到Twitter by bb on 2008年3月 9日

22 1

Last Topic: 修改MT的作者归档路径 by bb on 2008年10月25日

MovableType 模板

Be the first to post a topic in this forum

22 17

Last Topic: MovableType评论格式化 replies-to-replies by bb on 2008年10月15日

MovableType 延伸

14 17

Last Topic: 从Wordpress转移到Movabletype by bb on 2007年5月12日

2 2

Last Topic: 最新版MovableType 4.22 已经发布 by bb on 2008年11月19日