NAME

Apache::PageKit::Error - Error Handling under mod_perl

SYNOPSIS

In your perl code or startup.pl file:

use Apache::PageKit::Error;

In your Apache configuration file:

PerlSetVar PKIT_ERROR_HANDLER email

DESCRIPTION

Redirects warnings and fatal errors to screen or e-mail by using __WARN__ and __DIE__ signal handlers. Includes detailed information including error message, call stack, uri, host, remote host, remote user, referrer, and handler.

If PKIT_ERROR_HANDLER is set to display, errors will be displayed on the screen for easy debugging. This should be used in a development environment only.

If PKIT_ERROR_HANDLER is set to email, errors will be e-mailed to the site adminstrator as specified in the Apache ServerAdmin configuration directive. This should be used on a production site.

AUTHOR

T.J. Mather (tjmather@anidea.com)

COPYRIGHT

Copyright (c) 2000, AnIdea Corporation. All rights Reserved. PageKit is a trademark of AnIdea Corporation.

LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Ricoh Source Code Public License for more details.

You can redistribute this module and/or modify it only under the terms of the Ricoh Source Code Public License.

You should have received a copy of the Ricoh Source Code Public License along with this program; if not, obtain one at http://www.pagekit.org/license