Re: apache cgi-bin

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

 



azeem ahmad wrote:



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.

# chcon -R -t httpd_sys_script_exec_t /some/path/cgi-bin

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux