Re: STDERR

2000-12-09 Thread Rob Tanner
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. ??

Re: STDERR

2000-12-09 Thread Rob Tanner
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 ---

RE: STDERR

2000-12-08 Thread Jerrad Pierce
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

Re: STDERR

2000-12-08 Thread Aleksandr Vladimirskiy
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,

Re: STDERR

2000-12-08 Thread Aleksandr Vladimirskiy
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:

Re: STDERR

2000-12-08 Thread Stas Bekman
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

RE: STDERR

2000-12-08 Thread Doug Brewer
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]

Re: STDERR

2000-12-08 Thread Stas Bekman
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');

Re: STDERR

2000-12-08 Thread Stas Bekman
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