sorry for frequent emails but didn't know there's ERROR is addition to EMPTY for cleaner error handling. ERROR catches what EMPTY doesn't. check this out http://ms.gis.umn.edu/docs/reference/mapfile/web . thanks anyways, jzs
On 7/25/07, John Smith <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> 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
