The specified CGI application misbehaved by not returning a complete set of HTTP headers
框架(架构)  /  管理员 发布于 8年前   308
因为perl脚本的第一句中不支持 -wT 参数,将所有的 -wT 替换成 -w 即可 再次运行就可以了,这是PHP另一种运行模式的配置方法 今天遇到的PHP错误 最后解决办法是将PHP的CGI方式改为isapi方式。 环境:windows XP SP3+IIS5.1+ActivePerl 5.10.0 CGI Error "-T" is on the #! line, it must also be used on the command line at E:\bugzilla-3.4.2\bugzilla-3.4.2\index.cgi line 1. 错误报告: 因为perl脚本的第一句中不支持 -wT 参数,将所有的 -wT 替换成 -w 即可 PS:另外解决办法
The specified CGI application misbehaved by not returning a complete set of HTTP headers
意思是:(http协议的CGI模式运行不正确)
即:将 #!/usr/bin/perl CwT 替换为:将 #!/usr/bin/perl Cw
这是代表php是以CGI模试运行的 在php.ini找到 gi.force_redirect 把前面的分号去掉 把值改成0就行了。
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
安装BugZilla后,配置CGI,运行后错误如下:
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
The specified CGI application misbehaved by not returning a complete set of HTTP headers
意思是:(http协议的CGI模式运行不正确)
即:将 #!/usr/bin/perl CwT 替换为:将 #!/usr/bin/perl Cw
这是代表php是以CGI模试运行的 在php.ini找到 gi.force_redirect 把前面的分号去掉 把值改成0就行了。
修改IIS设置里,主目录选项卡->应用程序设置->选择CGI,之后在添加/编辑应用程序扩展映射名:将CGI可执行文件名写为:
D:\Perl\bin\perl.exe -x -wT “%s“ %s
(注:这里我的Perl安装在D:\Perl目录里)
这个样子就不需要更改BUGZilla的文件了您可能感兴趣的文章:
test1 在
opencode + Oh-my-openagent,我的第一个免费的ai编程智能体管家:Sisyphus中评论 test..122 在
学历:一种延缓就业设计,生活需求下的权衡之选中评论 工作几年后,报名考研了,到现在还没认真学习备考,迷茫中。作为一名北漂互联网打工人..Zita 在
Google AI Studio升级全栈 vibe coding体验,可直接构建带登录和数据库的应用中评论 111222..123 在
Clash for Windows作者删库跑路了,github已404中评论 按理说只要你在国内,所有的流量进出都在监控范围内,不管你怎么隐藏也没用,想搞你分..原梓番博客 在
在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..
Copyright·© 2019 侯体宗版权所有·
粤ICP备20027696号
