apache cgi-bin

Paul Howarth paul at city-fan.org
Mon Feb 20 12:25:44 UTC 2006


azeem ahmad wrote:
> 
> 
> 
>> From: "Styma, Robert E (Robert)" <stymar at lucent.com>
>> Reply-To: For users of Fedora Core releases <fedora-list at redhat.com>
>> To: "'For users of Fedora Core releases'" <fedora-list at redhat.com>
>> 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.




More information about the fedora-list mailing list