Just a guess mind you -- since I haven't tried anything like that in a while -- but 
isn't your problem a case of not sending at least a MIME type header to the browser 
first.  Somewhere in the back of that dusty catacomb that I call my mind, that seems 
to ring a bell.

-- Rob

--On Friday, December 08, 2000 05:46:13 PM -0500 Aleksandr Vladimirskiy 
<[EMAIL PROTECTED]> 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.
>
> 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]
>




       _ _ _ _           _    _ _ _ _ _
      /\_\_\_\_\        /\_\ /\_\_\_\_\_\
     /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
    /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_/    /\/_/
  /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)

  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]

PGP signature

Reply via email to