I'm guessing you are in WMS/WFS/WCS/SOS mode? You could use mapscript WxS to alter the output message before returning an exception to the client.
http://mapserver.gis.umn.edu/docs/howto/wxs_mapscript ..Tom ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of zhao peisheng Sent: 11 September, 2008 10:48 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] service exception Hi all, Currently, the MapServer will return serviceException with a very detailed message, such as query error and load error, if there is a error. I am wanna to only return a general message instead of the detailed message. I tried to set up "ERROR" within "Web" tag in map file, but failed. How to deal with it? Thanks. Peisheng ________________________________ Stay up to date on your PC, the Web, and your mobile phone with Windows Live. See Now <http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/> _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users