Results 1 to 7 of 7

Thread: CGI error

  1. #1

    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,

  2. #2
    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

  3. #3
    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.

  4. #4
    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

  5. #5
    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";
    http://support.microsoft.com/kb/145661

    If that does not work, contact a server admin.

  6. #6
    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.

  7. #7
    Quote Originally Posted by centauricw View Post
    Also, I should point out the Perl needs to be an allowed Web Extension in the IIS configuration.
    Perl extesion should be already allowed to return the error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers.
    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

  1. Mailman CGI error The Mailman CGI wrapper encountered a fatal error.
    By bigscanner in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 10-08-2010, 03:56 AM
  2. CGI Error ?
    By map007 in forum Hosting Security and Technology
    Replies: 3
    Last Post: 05-13-2008, 07:20 AM
  3. CGI error
    By rrsnider in forum Hosting Security and Technology
    Replies: 5
    Last Post: 02-13-2004, 09:02 AM
  4. CGI Error
    By AC1 in forum Programming Discussion
    Replies: 1
    Last Post: 09-18-2002, 07:43 PM
  5. cgi-error
    By rrsnider in forum Hosting Security and Technology
    Replies: 3
    Last Post: 11-30-2001, 05:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •