From: "azeem ahmad" <azeem81@xxxxxxx>
Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
To: fedora-list@xxxxxxxxxx
Subject: RE: apache cgi-bin
Date: Fri, 17 Feb 2006 21:45:41 +0000
From: "Styma, Robert E (Robert)" <stymar@xxxxxxxxxx>
Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
To: "'For users of Fedora Core releases'" <fedora-list@xxxxxxxxxx>
Subject: RE: apache cgi-bin
Date: Fri, 17 Feb 2006 14:40:00 -0700
> On Fri, 2006-02-17 at 15:12, azeem ahmad wrote:
> > > > the error log says
> > > > [some date] [error] [some client] premature end of
> script headers:
> > > > /some/path/dgate.html
> > > > [some date] [error] [some client] file does not exist:
> > >/some/path/500.html
> > > >
If you have cgi files in the cgi-bin and you transferred them
via ftp, make sure the execute bit is set as ftp clears that.
Also, default apache configurations want to run executables out
of the cgi-bin and will only serve html files out of the normal
html directory. So, you could have apache configuration differences
between you test and production servers.
Bob Styma
i have specified
ScriptAlias /cgi-bin/ /some/path/cgi-bin/
and this script resides in the same directory, could there be any more
configuration to make.
Regards
Azeem
even i have checked it by making chmod 777, even then it doesnt work