You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by William McKee <wi...@knowmad.com> on 2002/09/12 21:49:35 UTC
Error messages in Apache::Registry
Hi folks,
I'm a new user to mod_perl. I'm using Apache::Registry to run some scripts
that have been written using the CGI::Application framework. Previously,
under mod_cgi, I've been using the CGI::Carp set_message method of
capturing a die and returning a customized error message to the screen.
Under Apache::Registry, it seems that my set_message routine is not being
used. Instead I'm getting the following output:
...my error message here... at
/usr/local/lib/perl5/site_perl/5.6.1/MyLib.pm line 479.<!DOCTYPE HTML
PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>200 OK</TITLE>
</HEAD><BODY>
<H1>OK</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
webmaster@knowmad.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
<HR>
<ADDRESS>Apache/1.3.26 Server at www.knowmad.com Port 80</ADDRESS>
</BODY></HTML>
----------------- end ------------------
Is there a way to tell A::Registry not to do this? From the docs, I see
that there is a $Apache::Registry::Debug setting. However the description
doesn't mean much to me. And it doesn't mention what the default debug
level is.
Any help much appreciated,
William
--
Lead Developer
Knowmad Services Inc. || Internet Applications & Database Integration
http://www.knowmad.com