--- Evaldas Imbrasas <[EMAIL PROTECTED]> wrote: > Actually, the example below doesn't work if there > are any TT rendering errors. > > Is there a catch-all solution, or does it have to be > done on the Apache level?
I'm not sure what you mean. If you are running in mod_perl and set an error status (4xx or 5xx) Apache will (in it's relatively default config) display a standard template in various languages, depending on the language setting for the client. You can edit these if you like. If you want catalyst to handle all this, you need to remove that apache stuff and catch all the error codes and build templates as you like. Catalyst doesn't have this templates out of the box, you need to catch errors codes and direct them to templates you made, but it would be a really nice project for someone to do. Right now the non debug /debug message is just inlined html in the Catalyst::Engine module. It would be cool to break this out and have some default templates in TT, Mason, etc. --john > > > > > http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod#Delivering_a_Custom_Error_Page > > > > > -- > ----------------------------------------------------- > Evaldas Imbrasas > http://www.imbrasas.com > > _______________________________________________ > List: [email protected] > Listinfo: > http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
