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. ??
r 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
---
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
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,
rad 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:
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 t
here's my variation on your question (sorry, not much help to you):
while you are in a handler and you catch an error, why can't you then $r-print
the error message, and return OK immediately?
Perl just dies and Apache returns the header when I try this.
Doug
| From: [EMAIL PROTECTED]
On Fri, 8 Dec 2000, Aleksandr Vladimirskiy wrote:
Well I looked at the link on perl.apache.org
(http://perl.apache.org/guide/porting.html#STDIN_STDOUT_and_STDERR_streams),
and it still isn't working. I must be coding wrong. Please take a look
at the code:
$r-content_type('text/html');
On Fri, 8 Dec 2000, Aleksandr Vladimirskiy wrote:
Hey I got it. The code was wrong. So now I do an "open (STDERR,
"STDOUT");" in the beginning of the external script and a "tie *OUT,
'Apache';" in the module, then I used backtick to execute so now it
dumps everything to browser. Really