<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Tahoma size=2><SPAN 
class=953310014-09092002>Thanks.</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN 
class=953310014-09092002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=953310014-09092002>Can't believe I 
missed something that obvious! But I'm now going to make it a little harder for 
you all! Assuming that an error occurs and the page is diverted to the url 
specified, is there any way to find out what the error was? I presume (haven't 
checked the code) that MapServer does a simple redirect to the page specified, 
rather than using it as a template, so it wouldn't be possible to use a template 
variable or would it?</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN 
class=953310014-09092002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2><SPAN 
class=953310014-09092002>Matt.</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN 
class=953310014-09092002></SPAN></FONT>&nbsp;</DIV>
<DIV class=OutlookMessageHeader><FONT face="Times New Roman" 
size=2>-----Original Message-----<BR><B>From:</B> Marc Jacquin 
[mailto:jacquin@geosys-inc.com]<BR><B>Sent:</B> 09 September 2002 
13:05<BR><B>To:</B> Matthew Hatcher; 
mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B> RE: [mapserver-users] Query 
error messages<BR><BR></FONT></DIV>
<DIV><SPAN class=460230312-09092002><FONT face=Arial color=#0000ff 
size=2>Matt,</FONT></SPAN></DIV>
<DIV><SPAN class=460230312-09092002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=460230312-09092002><FONT face=Arial color=#0000ff size=2>Check 
the ERROR [url] keyword in the Web object.</FONT></SPAN></DIV>
<DIV><SPAN class=460230312-09092002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=460230312-09092002><FONT face=Arial color=#0000ff 
size=2>Marc</FONT></SPAN></DIV>
<DIV><SPAN class=460230312-09092002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=460230312-09092002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  owner-mapserver-users@lists.gis.umn.edu 
  [mailto:owner-mapserver-users@lists.gis.umn.edu]<B>On Behalf Of </B>Matthew 
  Hatcher<BR><B>Sent:</B> lundi 9 septembre 2002 09:57<BR><B>To:</B> 
  mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B> [mapserver-users] Query 
  error messages<BR><BR></FONT></DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>Hi 
  everyone.</FONT></SPAN></DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>This is probably a 
  really optimistic question, but is there any way to customise the error 
  messages you get from a query without using MapScript?</FONT></SPAN></DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>What I want to do 
  is have a query that yields no results go to a custom page of my choice, 
  rather than simply show the "Search returned no results" 
  message.</FONT></SPAN></DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>Is this 
  possible?</FONT></SPAN></DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
  size=2>Cheers,</FONT></SPAN></DIV>
  <DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>Matt 
  Hatcher</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV><CODE><FONT 
  size=3><BR><BR>**********************************************************************<BR>The 
  information contained in this email and any subsequent<BR>correspondence is 
  private and is intended solely for the <BR>intended recipient(s). For those 
  other than the intended<BR>recipient(s) any disclosure, copying, distribution, 
  or any <BR>action taken or omitted to be taken in reliance on such 
  <BR>information is prohibited and may be 
  unlawful.<BR>**********************************************************************<BR></BLOCKQUOTE></FONT></CODE></BODY></HTML>