Re: Solution for: Re: $ENV{PATH} set by mod_perl script affects mod_cgi scripts

2000-06-06 Thread Dirk Lutzebaeck
Ben Cohen writes: > Go to the line that reads: > > eval { &{$cv}($r, @_) } if $r->seqno; I love perl :) Dirk

Re: Solution for: Re: $ENV{PATH} set by mod_perl script affects mod_cgi scripts

2000-06-05 Thread Ken Williams
[EMAIL PROTECTED] (Ben Cohen) wrote: >{begin quote} > >I assume you are running with Apache:Registry? > >You could also save off the $ENV{PATH}... > > >Go to the line that reads: > > eval { &{$cv}($r, @_) } if $r->seqno; > > >And before it have something like > >$ENV{OLD_PATH} = $ENV{PATH} > >

Solution for: Re: $ENV{PATH} set by mod_perl script affects mod_cgi scripts

2000-06-05 Thread Ben Cohen
Thanks to all for the helpful suggestions. Gunther Birzniek from the list suggested a solution that I've now tried and it works perfectly: {begin quote} I assume you are running with Apache:Registry? You could also save off the $ENV{PATH}... Go to the line that reads: eval { &{$cv}($