Jain, Abhay K, ALABS wrote:
I must apologize if it is not directly relevant to mod-perl.
I have tried to search google and other places but no luck.
As I had mentioned I have apache built with mod-perl 2.
Some old cgi scripts were written in ksh and use of set -x
produced complete output in browser window under Netscape.
While Apache seem to ignore stderr. Is there any way
I can get that output sent to the browser under Apache. Thanks.
The errors are sent to the logs/error_log file. You can find those there.
Otherwise check: CGI::Carp's fatalsToBrowser:
http://search.cpan.org/dist/CGI.pm/CGI/Carp.pm#MAKING_PERL_ERRORS_APPEAR_IN_THE_BROWSER_WINDOW
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com