Re: error in apache error logs malformed header from script. Bad header=Application MS-CGI cannot open: stccgi.exe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Tom,

Thanks for the quick response.

I have following files in cgi-bin and cgi-bin2 directory which is copied from server where it is working fine. Any idea what we have to fix in cgi-app.

bash-3.00# pwd
/opt/app/sbyn/cgi-bin
bash-3.00# ls -ltr
total 1404
-rwxrwxrwx   1 abc xyz        599 Jul 31  2007 checkenv.pl
-rwxrwxrwx   1 abc xyz     716176 Jul 31  2007 stccgi.exe
-rwxrwxrwx   1 abc xyz        283 Jul 31  2007 mscgi.properties
bash-3.00#


bash-3.00# pwd
/opt/app/sbyn/cgi-bin2
bash-3.00# ls -ltr
total 5008
-rwxrwxrwx   1 abc xyz         599 Aug 29  2007 checkenv.pl
-rwxrwxrwx   1 abc xyz      29336 Aug 29  2007 stc_msapi.dll
-rwxrwxrwx   1 abc xyz    1171004 Aug 29  2007 stc_msclient.dll
-rwxrwxrwx   1 abc xyz     643552 Aug 29  2007 stc_mscommon.dll
-rwxrwxrwx   1 abc xyz     716176 Aug 29  2007 stccgi.exe
-rwxrwxrwx   1 abc xyz        319 Jun 24  2008 mscgi.properties
bash-3.00#



--- On Tue, 2/15/11, Tom Evans <tevans.uk@xxxxxxxxxxxxxx> wrote:

From: Tom Evans <tevans.uk@xxxxxxxxxxxxxx>
Subject: Re: error in apache error logs malformed header from script. Bad header=Application MS-CGI cannot open: stccgi.exe
To: users@xxxxxxxxxxxxxxxx
Date: Tuesday, February 15, 2011, 10:20 PM

On Tue, Feb 15, 2011 at 4:17 PM, Amol Puglia <amolcpuglia@xxxxxxxxx> wrote:
>
> Hello Team,
>
> I am getting following error messages in apache error logs.
>
> kindly help how to get out of this error.
>
> malformed header from script. Bad header=Application MS-CGI cannot open: stccgi.exe
>

Your CGI is returning data that does not correspond to the CGI spec.
Fix your CGI app.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux