Perl

PROBLEM:
When you use a Common Gateway Interface (CGI) application with Microsoft Internet Information Server (IIS), the following error message appears:

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

CAUSE
This error is caused by the return of an incomplete or incorrect set of headers by the CGI application. The CGI application may be written incorrectly. As well, logic errors, API failures, or anything that causes the CGI application malfunction can also cause this error.

RESOLUTION
Modify the source code for the CGI application header output. The following is an example of a correct header:

print "HTTP/1.0 200 OK\n";
print "Content-Type: text/html\n\n\n";

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

What is SSL ?

(pronounced as separate letters) Short for Secure Sockets Layer, a protocol developed by Netscape...

How do I troubleshoot my cgi-bin?

First refer to the step by step setup guide to ensure the scripts have been uploaded and setup...

How can data be uploaded on site ?

For data uploading diffeeret uploading softwares are available but a more easy and flexible...

Glossary of Terms for Web Hosting

AppletAn applet is a small executable module, that normally doesn't have the complete features...

Add [econs.net] in the Safe List of your hotmail / live email account

Follow these steps to add our domain name [ econs.net ] in the safe list of your hotmail / live...

Powered by WHMCompleteSolution