You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Amol Puglia <am...@yahoo.com> on 2011/02/15 17:17:05 UTC

[users@httpd] error in apache error logs malformed header from script. Bad header=Application MS-CGI cannot open: stccgi.exe

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



      

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

Posted by Amol Puglia <am...@yahoo.com>.
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 <te...@googlemail.com> wrote:

From: Tom Evans <te...@googlemail.com>
Subject: Re: [users@httpd] error in apache error logs malformed header from script. Bad header=Application MS-CGI cannot open: stccgi.exe
To: users@httpd.apache.org
Date: Tuesday, February 15, 2011, 10:20 PM

On Tue, Feb 15, 2011 at 4:17 PM, Amol Puglia <am...@yahoo.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




 
____________________________________________________________________________________
Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

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

Posted by Tom Evans <te...@googlemail.com>.
On Tue, Feb 15, 2011 at 4:17 PM, Amol Puglia <am...@yahoo.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org