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

Email going in JUNK/BULK folders of hotmail.com/yahoo.com

Your emails being recieved in JUNK/BULK folders of hotmail.com/yahoo.com. Hotmail/Yahoo has some...

Uploading your web pages - quick guide

FTP SOFTWARE : FTP stands for File Transfer Protocol and the software is used to transfer...

Useful Internet Website Links

Whois links the .nl registry whoisThe .tv whoisThe .tc .gs .ms .vg whois linkA normal web...

[ASP/PHP] Emailing Code Problems

There is email code in the following page: http://www.*******.com/ordersample.aspx When I press...

Will Econs move my domain to my new server for me?

You will be responsible for uploading your site to your server. You must have a registered domain...

Powered by WHMCompleteSolution