Error Reporting

PageKit uses Apache::ErrorReport to report errors. It reports warnings and fatal errors to screen or e-mail. Includes detailed information including error message, call stack, uri, host, remote host, remote user, referrer, and Apache handler.

To use, place the following in the your httpd.conf file:

  PerlModule Apache::ErrorReport
  PerlSetVar ErrorReportHandler display
   

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

If ErrorReportHandler 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.