Ben Kim wrote: > We have quite a few pages using embperl, and sometimes fixing one at > the site module (pm) level breaks others, which we won't know until a > certain combination of things happen together. > > We'd like to be notified by email when any embperl related error > happens. > > What is the best practice? I hope to handle it within embperl, if > possible, without running a separate script. > > Also, what is the best way to implement an "errorpage" which will be > the default destination for users if any error occurs? >
I addition to the two ways to display a custom error page that already wrote Luiz, you can use the Embperl_Mail_Errors_To config directive to send out a mail on every error. See perldoc Config.pod for more details. Gerald --------------------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 --------------------------------------------------------------------------- Besuchen Sie uns auf der CeBIT (18. - 24. März 2004) Halle 6 Stand B38-452 ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info --------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]