<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV>Hi, this is the same question I asked on the chameleon forum ...</DIV>
<DIV> </DIV>
<DIV>What is occuring is the URL to your map server has a ? followed by the map
and whatever parameters .. The Chameleon all then takes that URL and
automatically appends a ? to the URL, you can not have two ? marks in a
URL.</DIV>
<DIV> </DIV>
<DIV>The only solution I know of would be to create an alias in Apache for your
map... ie <A
href="http://10.59.36.53:8080/cgi-bin/mapserv?map=/var/www/html/fgs/apps/chameleon-2.0/test/map/test.map&typename=sightings2004_point">http://10.59.36.53:8080/cgi-bin/mapserv?map=/var/www/html/fgs/apps/chameleon-2.0/test/map/test.map&typename=sightings2004_point</A>
becomes <A
href="http://10.59.36.53:8080/cgi-bin/maptest">http://10.59.36.53:8080/cgi-bin/maptest</A>
then it will work great.</DIV>
<DIV> </DIV>
<DIV>If you notice DMS has their world map demo does not go through mapserv ....
They must either have an scriptalias or some custom cgi script. I have not had
an answer from them yet...</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Derek</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B>
chameleon-bounces@lists.maptools.org on behalf of Matthew Edmondson
<BR><B>Sent:</B> Wed 26/10/2005 6:47 PM <BR><B>To:</B> Chameleon Users;
MAPSERVER-USERS@lists.umn.edu <BR><B>Cc:</B> <BR><B>Subject:</B> [Chameleon]
WFS layer display problem<BR><BR></FONT></DIV>
<DIV>I have a layer (pulling from a shapefile) set up on my server set up to
share as a wfs layer. The layer displays properly, when tapped via a
getfeature request, the data comes back parsed properly with no errors, when
using a chameleon experssionbuilder widget, I can see each of the headers for
my columns of data. However, when I try to tap that wfs layer to display it in
a mapserver, I instantly get a red x in the upper left corner and my map won't
load. Even tyring to tap it in the same mapfile (as a wfs connection to the
url) gives me errors. </DIV>
<DIV> </DIV>
<DIV>here is the layer attempting to tap the working layer (note, this is on a
intranet):</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>LAYER<BR> NAME
wfs_sightings_test<BR>
TYPE POINT<BR> STATUS
off<BR> CONNECTIONTYPE
WFS<BR> CONNECTION "<A
href="http://10.59.36.53:8080/cgi-bin/mapserv?map=/var/www/html/fgs/apps/chameleon-2.0/test/map/test.map&typename=sightings2004_point">
http://10.59.36.53:8080/cgi-bin/mapserv?map=/var/www/html/fgs/apps/chameleon-2.0/test/map/test.map&typename=sightings2004_point</A>&"<BR>
METADATA<BR>
"wfs_typename"
"sightings2004_point"
<BR>
"wfs_version"
"1.0.0"<BR>
"wfs_request_method"
"GET"<BR>
"wfs_connectiontimeout" "60"<BR> "wms_srs" "epsg:4326"
<BR>
END<BR> END # Layer</DIV>
<DIV> </DIV>
<DIV>I've read every piece of documentation I've found, and searched every
mailing list archive, and I've yet to see any reason why this should be
happening. Any help would be greatly appreciated.</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>Matt</DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>