<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello All!<br>I am a MapServer and Ubuntu newbie, trying to use the example code from:<br>Bill Kropla, Begining MapServer Open Source GIS Development<br>http://www.apress.com/book/downloadfile/2213<br>Chapter 5, fourth.map fourth.html...<br>the QUERY and NQUERY modes work (although the TOLERANCE is not changed from the value in the .map file when he tries to use [map_Cities_tolerance] in the URL) but I am unable to get the ITEMQUERY mode to work at all. I am using his example of: qlayer=Cities qitem=COUNTRY qstring=/US/<br>I have also tried the non-regular expression query items: US 'US' "US"<br>I always get the following error message:<br>mapserv(): Web application error. Parameter 'qstring' value fails to validate. msValidateParameter(): Regular expression error. Parameter pattern validation failed. <br>the URL
 is:<br>http://localhost:8080/cgi-bin/mapserv?<br>zoomdir=0&amp;zoomsize=2<br>&amp;layer=Cities&amp;layer=Countries<br>&amp;mode=itemquery&amp;qlayer=Cities&amp;imgbox=&amp;qitem=COUNTRY&amp;imgshape=&amp;qstring=%2FUS%2F<br>&amp;mapshape=&amp;map_Cities_tolerance=0&amp;shapeindex=&amp;map_Countries_tolerance=0<br>&amp;imgxy=320+160&amp;imgext=-180.000000+-89.859155+180.000000+89.859155<br>&amp;map=%2Fhome%2Fgeorge%2Ffgs%2Fapps%2Fgmap-demo-cvs_MS_VERSION_54%2Fhtdocs%2Ffourth.map<br>&amp;program=mapserv&amp;slayer=Countries&amp;previousmode=[previousmode]&amp;savequery=true<br><br>I am running MapTools fgs-mapserver_extended_5.4.2-fgs_9.5-linux-i386.bin on Ubuntu 9.04 Desktop<br><br>Anyone have any idea why ITEMQUERY doesn't work?<br>Anyone have an ITEMQUERY example that does work?<br></td></tr></table><br>