is the error report:
The specified CGI application misbehaved by isn't returning a complete set of HTTP headers
(The CGI mode of the HTTP protocol is not running correctly)
Because the-WT parameter is not supported in the first sentence of the Perl script, all-WT are replaced with-W
That is: Replace the #!/usr/bin/perl–wt with the following: #!/usr/bin/perl–w
This is to represent that PHP is a CGI mode test run in php.ini find Gi.force_redirect the front of the semicolon to remove the value of change to 0 on the line.
Run it again, this is another way to configure PHP to run the mode
PHP Errors encountered today
CGI Error
The specified CGI application misbehaved by isn't returning a complete set of HTTP headers.
The final solution is to change the CGI mode of PHP to the ISAPI mode.
environment: Windows XP Sp3+iis5.1+activeperl 5.10.0
After installing Bugzilla, configure the CGI, after running the following error:
CGI Error
The specified CGI application misbehaved by isn't returning a complete set of HTTP headers. The headers it did return is:
"-T" is on the #! Line, it must also is used on the command line at E:\BUGZILLA-3.4.2\BUGZILLA-3.4.2\INDEX.CGI Line 1.
Error Reporting:
The specified CGI application misbehaved by isn't returning a complete set of HTTP headers
(The CGI mode of the HTTP protocol is not running correctly)
Because the-WT parameter is not supported in the first sentence of the Perl script, all-WT are replaced with-W
That is: Replace the #!/usr/bin/perl–wt with the following: #!/usr/bin/perl–w
This is to represent that PHP is a CGI mode test run in php.ini find Gi.force_redirect the front of the semicolon to remove the value of change to 0 on the line.
PS: Another solution
Modify IIS settings, home Directory tab, application settings, select CGI, and then in Add/Edit application extension map name: Write the CGI executable name as:
D:\Perl\bin\perl.exe-x-wt '%s '%s
(Note: Here my Perl is installed in the D:\Perl directory)
This way, you don't need to change the Bugzilla file.
http://www.bkjia.com/PHPjc/322989.html www.bkjia.com true http://www.bkjia.com/PHPjc/322989.html techarticle is error report: The specified CGI application misbehaved by not returning a complete set of HTTP headers meaning: (HTTP protocol CGI mode is not running correctly Because of the Perl script ...