[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] CGI Application::Dispatch and FatalsToBrowser


Hello,

I'm not having any luck getting errors to display in the browser when web applications are dispatched with CGI::App::Dispatch.

According to the way I read the documentation, this should send the error to the browser if there's an error in the application:

CGI::Application::Dispatch->dispatch(
   default => "test/test",
   debug   => 1,
   # return in browser 'Opss... HTTP Error #404'
   error_document => '"Opss... HTTP Error #%s'

) ;

But it doesn't. It just shows Internal Server Error or Not Found. My development environment is WinXP, Apache2, normal CGI;

Thx,

Bruce


--
Bruce McKenzie
http://www.2MinuteExplainer.com

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.