欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

The specified CGI application misbehaved by not returning a complete set of HTTP headers

 更新時(shí)間:2011年03月31日 11:31:00   作者:  
The specified CGI application misbehaved by not returning a complete set of HTTP headers
是錯(cuò)誤報(bào)告:
The specified CGI application misbehaved by not returning a complete set of HTTP headers
意思是:(http協(xié)議的CGI模式運(yùn)行不正確)

因?yàn)閜erl腳本的第一句中不支持 -wT 參數(shù),將所有的 -wT 替換成 -w 即可
即:將 #!/usr/bin/perl –wT 替換為:將 #!/usr/bin/perl –w
這是代表php是以CGI模試運(yùn)行的 在php.ini找到 gi.force_redirect 把前面的分號(hào)去掉 把值改成0就行了。

再次運(yùn)行就可以了,這是PHP另一種運(yùn)行模式的配置方法

今天遇到的PHP錯(cuò)誤

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

最后解決辦法是將PHP的CGI方式改為isapi方式。

環(huán)境:windows XP SP3+IIS5.1+ActivePerl 5.10.0
安裝BugZilla后,配置CGI,運(yùn)行后錯(cuò)誤如下:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

"-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.

錯(cuò)誤報(bào)告:
The specified CGI application misbehaved by not returning a complete set of HTTP headers
意思是:(http協(xié)議的CGI模式運(yùn)行不正確)

因?yàn)閜erl腳本的第一句中不支持 -wT 參數(shù),將所有的 -wT 替換成 -w 即可
即:將 #!/usr/bin/perl –wT 替換為:將 #!/usr/bin/perl –w
這是代表php是以CGI模試運(yùn)行的 在php.ini找到 gi.force_redirect 把前面的分號(hào)去掉 把值改成0就行了。

PS:另外解決辦法
修改IIS設(shè)置里,主目錄選項(xiàng)卡->應(yīng)用程序設(shè)置->選擇CGI,之后在添加/編輯應(yīng)用程序擴(kuò)展映射名:將CGI可執(zhí)行文件名寫(xiě)為:
D:\Perl\bin\perl.exe -x -wT “%s“ %s
(注:這里我的Perl安裝在D:\Perl目錄里)
這個(gè)樣子就不需要更改BUGZilla的文件了

相關(guān)文章

最新評(píng)論