Results 1 to 7 of 7
Thread: CGI error
-
05-14-2011, 03:18 PM #1New Member
- Join Date
- May 2011
- Posts
- 3
CGI error
Hello,
I am using plesk control panel. When I access a hosting page which is using a perl script, it shows the error,
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
What could be the reason. Any help from you guys will be very helpful to me.
Regards,
-
05-14-2011, 04:10 PM #2Junior Guru
- Join Date
- Aug 2004
- Location
- UK
- Posts
- 189
Hey Elvis,
If you want i can have a look at this issue for you.
Just send me an email at : manuel@dade2.net
Thanks█ Dade2 • Premium Cloud Provider • Infrastructure as a Service
█ Managed Cloud • Managed Kubernetes • Partner Program
-
05-15-2011, 03:18 AM #3Web Hosting Guru
- Join Date
- Jul 2008
- Location
- Atlanta GA
- Posts
- 293
Is the Perl script written to use the CGI module? Perl scripts that run as CGI need to use the CGI perl module or they won't work.
-
05-15-2011, 09:29 PM #4Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 3,403
This requires a server admin to log on the server and check CGI settings.
I don't think it's possible to fix the error with advice from forum.PremiumReseller.com Hyper-V SSD VPS USA London Singapore
Reseller Hosting Cpanel PURE SSD CloudLinux Softaculous
Windows Reseller Asp.NET 4.5 MSSQL SmarterMail Enterprise
-
05-15-2011, 09:34 PM #5Disabled
- Join Date
- Apr 2009
- Posts
- 3,262
Add this to your code on top of your cgi file.
Code:print "HTTP/1.0 200 OK\n"; print "Content-Type: text/html\n\n\n";
If that does not work, contact a server admin.
-
05-17-2011, 07:44 PM #6Web Hosting Guru
- Join Date
- Jul 2008
- Location
- Atlanta GA
- Posts
- 293
Also, I should point out the Perl needs to be an allowed Web Extension in the IIS configuration. If you installed ActivePerl, it should have set this all up for you.
-
05-17-2011, 09:10 PM #7Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 3,403
PremiumReseller.com Hyper-V SSD VPS USA London Singapore
Reseller Hosting Cpanel PURE SSD CloudLinux Softaculous
Windows Reseller Asp.NET 4.5 MSSQL SmarterMail Enterprise
Similar Threads
-
Mailman CGI error The Mailman CGI wrapper encountered a fatal error.
By bigscanner in forum Hosting Software and Control PanelsReplies: 2Last Post: 10-08-2010, 03:56 AM -
CGI Error ?
By map007 in forum Hosting Security and TechnologyReplies: 3Last Post: 05-13-2008, 07:20 AM -
CGI error
By rrsnider in forum Hosting Security and TechnologyReplies: 5Last Post: 02-13-2004, 09:02 AM -
CGI Error
By AC1 in forum Programming DiscussionReplies: 1Last Post: 09-18-2002, 07:43 PM -
cgi-error
By rrsnider in forum Hosting Security and TechnologyReplies: 3Last Post: 11-30-2001, 05:22 PM