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

Was this answer helpful?

 Print this Article

Also Read

How to create virtual directory in HELM?

Follow these steps to create a virtual directory : Login to HELM Click on Domains Click on your...

Adding new domain in HELM [ Resellers Only ]

[1] Login to HELM [ Using your reseller login information ] [2] Click on Users [3] Click on Add...

I have created an FTP user and was able to login but user can't see the home directory in FTP window. Also the user could not transfer files over. What may be the reason?

Cause: New FTP users can not FTP to the Website unless they provide the website name as Remote...

Creating application/virtual Directory in HELM

By default all \wwwroot folders are already configured as application directories. This allows...

How can I check my website stats?

You can view Awstats only if it is enabled in your account. First, log into HELM via...

Powered by WHMCompleteSolution