[mapserver-users] newbie question :

Stephane MOREL stephane.morel at vanoise.com
Wed Feb 13 12:15:29 EST 2002


Hi

I've installed mapserver 3.4 on linux machine running Suse 7.2
Every things works perfectly well. When I run http://myserver/cgi-bin/mapserv,
I've got the following answer : No query information to decode. QUERY_STRING is
set, but empty.
If I understand well it means that mapserver is correctly installed
Am I right ?

I've downloaded the demo. When I run the demo_init.html I can see the fisrt
window and when I click on the initialize button I can see the demo interface
but not the map.
When I look in the directory where I put the mapserver demo I can see that the
DEMO1215465488.gif has been created.
So why can I can't see the gif file in my browser ?

My demo.map  :
#
# Start of map file
#
NAME DEMO
STATUS ON
SIZE 600 600
SYMBOLSET symbols/symbols.sym
EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897
UNITS METERS
SHAPEPATH "data"
IMAGECOLOR 255 255 255

#
# Start of web interface definition
#
WEB
  HEADER demo_header.html
  TEMPLATE demo.html
  FOOTER demo_footer.html
  MINSCALE 1000
  MAXSCALE 1550000
#  IMAGEPATH "/usr/local/apache/htdocs/tmp/"
IMAGEPATH "/home/site_intranet/mapserver/ms_demo/"
 #IMAGEURL "/tmp/"
#IMAGEURL "/ms_demo/"
    # LOG "demo.log"
END and the rest of the file

My demo_init.html :

<html>
<head><title>MapServer Demo Interface</title></head>
<body bgcolor="#FFFFFF">
<center><h2>MapServer Demo Interface</h2></center>
<p><hr><p>
Click on the initialize button to fire up the demo with 3 layers turned on will
be accessible for browsing. The
data are of Itasca County, MN and were derived, for the most part, from USGS
1:24,000 quadrangles. Some things to note are:
<form method=GET action="/cgi-bin/mapserv">
<input type="hidden" name="map"
value="/home/site_intranet/mapserver/ms_demo/demo.map">
<input type="hidden" name="layer" value="lakes">
<input type="hidden" name="layer" value="streams">
<input type="hidden" name="zoomsize" value=2>
<center><input type="submit" value="Initialize"></center>
</form>
<p><hr><p>
</body></html>

Any suggestions  ?

TIA

Stef




More information about the mapserver-users mailing list