[Mapserver-users] Querying on multiple fields

Steve Lime steve.lime at dnr.state.mn.us
Tue Feb 3 17:44:06 EST 2004


Are you escaping the value ('[PART_N]' IN '556,557' AND '[ID_N]' IN
'24') properly? Spaces aren't allowed and should be replaced with either
a + or a %20. We should still track down the source of the error though,
error 500's are never good.

Steve


Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Roger Boily <boily at bsw.org> 2/3/2004 6:33:11 AM >>>
Hi,

On a cgi url I've tried to query on multiple fields with this:
NB: for easy reading space and " are normals but I used %20(space) and

%27(')
&qstring=('[PART_N]' IN '556,557' AND '[ID_N]' IN '24')
it works perfectly on windows Mapserver 4.0.1

But I receive error 500 from Apache on linux: (Premature end of script

headers: mapserv)
&qitem=PART_N&qstring=556 works fine on linux
but I receive the same error with:
&qstring=('[PART_N]' IN '556')

Is there anyone who has any idea?

Is there a way to make multiple fileds query with qitem and qstring?

Thanks a lot

Roger


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list