On Thu, 29 Mar 2007 10:12:00 +0100 Stephane Chazelas <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 28, 2007 at 11:46:15AM +0100, Stephane Chazelas wrote: > > 1. Problem Description: > > > > Hiya, > > > > After querying a mod_perl run CGI, the corresponding apache2 > > process ends up having its fd 0 and/or fd 1 closed. This then > > causes some other CGIs (for instance mod_python's viewvc) to > > fail because they are not robust enough to cope with a closed > > fd 0. > > I should add that this is how mod_perl is told to run the CGI > script: > > <IfModule mod_perl.c> > <Location /cgi-bin/gnatsweb.pl> > SetHandler perl-script > PerlResponseHandler ModPerl::PerlRunPrefork > PerlOptions +ParseHeaders > </Location> > </IfModule> > > I disabled mod_perl for now. But could anyone please indicate > whether I'm not using it properly or whether it is indeed a bug > or whether that version of Apache is not supported? Hi Stephane, This isn't a bug, but a normal aspect of mod_perl. You can however re-tie them. I think this page gives you all the info you need: http://perl.apache.org/docs/1.0/guide/porting.html#STDIN__STDOUT_and_STDERR_streams --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://www.wiles.org ---------------------------------