catching errors??

John Smith jayzee.smith at GMAIL.COM
Wed Jul 25 11:15:30 EDT 2007


for mapping since mapserver cgi is the last step before apache, it's
fail-safe to catch errors with mapserver than say postgresql:
application <=> apache <=> mapserver cgi <=> postgresql

basically 'if response returned isn't image show custom text' kinda.
jzs

On 7/25/07, John Smith <jayzee.smith at gmail.com> wrote:
> guys,
> how'd i customize 'mapserv(): Web application error' and 'msDrawMap():
> Image handling error'? in the first case only mapserver fails. in the
> second postgresql fails first then mapserver. anyway using cgi so
> catching error inside template isn't useful since template gets
> bypassed on error. what i'd really like is log error and display
> message from log.
> jzs



More information about the mapserver-users mailing list