On Fri, 8 Dec 2000, Aleksandr Vladimirskiy wrote:

> I am sorry, its just my question wasn't on how to do it ("dup STDERR to
> STDOUT"), but rather why doing that doesn't work. I have two pieces to
> the puzzle an apache module and an external script. I get the errors
> from the external script in the error_log, so I redirect them in the
> module or the script to STDOUT, but this fails which means that apache
> doesn't have a STDOUT or its something else.

http://perl.apache.org/guide/porting.html#STDIN_STDOUT_and_STDERR_streams

> 
> Alex
> 
> Jerrad Pierce wrote:
> > 
> > so reverse it. Sheesh.
> > 
> > >-----Original Message-----
> > >From: Aleksandr Vladimirskiy [mailto:[EMAIL PROTECTED]]
> > >Sent: Friday, December 08, 2000 5:33 PM
> > >To: Jerrad Pierce; [EMAIL PROTECTED]
> > >Subject: Re: STDERR
> > >
> > >
> > >That would have the opposite effect of what I want. I want the
> > >errors to
> > >go to the browser not the output of the script to the error_log. ???
> > >
> > >Alex
> > >
> > >Jerrad Pierce wrote:
> > >>
> > >> dup STDOUT to STDERR
> > >>
> > >> >-----Original Message-----
> > >> >From: Aleksandr Vladimirskiy [mailto:[EMAIL PROTECTED]]
> > >> >Sent: Friday, December 08, 2000 5:16 PM
> > >> >To: [EMAIL PROTECTED]
> > >> >Subject: STDERR
> > >> >
> > >> >
> > >> >Hi,
> > >> >
> > >> >I am writing a module that launches a perl script. I would
> > >> >like the user
> > >> >to see the error cenerated by the script in the browser. So
> > >> >far I either
> > >> >get the errors sent to the apache error_log or the browser
> > >respons that
> > >> >the document contained no data. Please help!
> > >> >
> > >> >Alex
> > >> >
> > >>
> > >>---------------------------------------------------------------------
> > >> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> >For additional commands, e-mail: [EMAIL PROTECTED]
> > >> >
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/  



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to