Hi Ben, you wrote map=mode instead of mode=map
Zoltan On Fri, 27 Jan 2006, Ben Crane wrote: > Siki, > > That is what I've done: > > http://localhost/cgi-bin/mapserve.exe?map=c:/ms4w/apache/htdocs/test1.map&layer=italy&map=mode > > I have a PNG file called italy in the htdocs folder > under ms4w; I have specified the path to the data in > the map file, and ensured the layer name is called > italy. It can find mapserve.exe since I get the empty > query_string response when no query string is added. > The file is in the right place. I have checked the > test1.map file to ensure the layer and path are > looking in the right place. > > Ben > > --- Siki Zoltan <[EMAIL PROTECTED]> wrote: > > > Hi Ben, > > > > Please send your mail to the list too, community > > members can learn from > > it. > > > > You can use mapserver in browse and map mode. > > In case of map mode no html template neccessary, but > > the map file must be > > specified in the query string. You can use the URL > > to define parameters to > > mapserver cgi, for example > > > http://your_host/cgi-bin/mapserv?mode=map&map=/path/to/your/map/file > > > > of course you can define many other parameters for > > mapserver, see cgi > > mapserver controls > > (mapserver.gis.umn.edu/docs/reference/controls) > > > > Zoltan > > > > On Fri, 27 Jan 2006, Ben Crane wrote: > > > > > Okay, but the mapserver example1.1 tutorial I'm > > using > > > says that I can parse an PNG image directly to the > > > browser without the need for an HTML page. > > > > > > Ben > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > protection around > > > http://mail.yahoo.com > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >
