[Mapserver-users] Configuring the demo_init.html & demo.map files

Steve McCrone mccrone at pc.jaring.my
Tue Dec 24 02:50:23 PST 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C2AB7D.511C0E10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks all for supplying the help on the makefile.vc. However, I thought =
it best to rty to get the demo running first and then look into more =
detail later. However, I am having trouble with the MapServer Demo =
Application Installation Instructions.

I have Win2000 and therefore have the c:/Inetpub/wwwroot/ as my =
localhost dircetory. I make the appropriste changes in my demo_init.html =
file and type http://localhost/demo_init.html and this page runs fine. =
However, when I 'slap' the Initialize button my IE says "The Page cannot =
be found" ...blah, blah,blah - the white page with the read print. Here =
is my demo_init.html file -=20

<html>
<head><title>MapServer Demo Interface</title></head>
<body bgcolor=3D"#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=3DGET action=3D"/cgi-bin/mapserv">

<input type=3D"hidden" name=3D"map" =
value=3D"c:\Inetpub\wwwroot\demo.map">
<input type=3D"hidden" name=3D"layer" value=3D"lakespy2">
<input type=3D"hidden" name=3D"layer" value=3D"dlgstln2">
<input type=3D"hidden" name=3D"zoomsize" value=3D2>

<input type=3D"hidden" name=3D"program" value=3D"/cgi-bin/mapserv.exe">
<input type=3D"hidden" name=3D"map_web_imagepath" =
value=3D"C:\inetpub\wwwroot\tmp\">
<input type=3D"hidden" name=3D"map_web_imageurl" value=3D"/tmp/">

<center><input type=3D"submit" value=3D"Initialize"></center>
</form>
<p><hr><p>
</body></html>

The only changes I made to my demo.map file is -=20

 # change this value to match your setup
   WMS_ONLINERESOURCE "http://localhost/demo_init.html"=20

I placed all the dlls in the winnt/system32/ , the mapserv.exe in the =
c:/Inetpub/wwwroot/cgi-bib/ and the other *.exe files in the c:/winnt/

Thanks for your help.

Steve




------=_NextPart_000_0027_01C2AB7D.511C0E10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks all for supplying the help on =
the=20
makefile.vc. However, I thought it best to rty to get the =
demo running=20
first and then look into more detail later. However, I am having trouble =
with=20
the <FONT face=3D"Times New Roman" size=3D3><STRONG>MapServer Demo =
Application=20
Installation Instructions.</STRONG></FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I have Win2000 and therefore have the=20
c:/Inetpub/wwwroot/ as my localhost dircetory. I make the appropriste =
changes in=20
my demo_init.html file and type <A=20
href=3D"http://localhost/demo_init.html">http://localhost/demo_init.html<=
/A> and=20
this page runs fine. However, when I 'slap' the Initialize button my IE =
says=20
"The Page cannot be found" ...blah, blah,blah - the white page with =
the=20
read print. Here is my demo_init.html file - </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2><html><BR><head><title>MapServer=20
Demo Interface</title></head><BR><body=20
bgcolor=3D"#FFFFFF"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><center><h2>MapServer Demo=20
Interface</h2></center><BR><p><hr><p><BR>Cl=
ick on=20
the initialize button to fire up the demo with 3 layers turned on will =
be=20
accessible for browsing. The<BR>data are of Itasca County, MN and were =
derived,=20
for the most part, from USGS 1:24,000 quadrangles. Some things to note=20
are:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><form method=3DGET=20
action=3D"/cgi-bin/mapserv"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><input type=3D"hidden" name=3D"map"=20
value=3D"c:\Inetpub\wwwroot\demo.map"><BR><input type=3D"hidden" =
name=3D"layer"=20
value=3D"lakespy2"><BR><input type=3D"hidden" name=3D"layer"=20
value=3D"dlgstln2"><BR><input type=3D"hidden" name=3D"zoomsize"=20
value=3D2></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><input type=3D"hidden" =
name=3D"program"=20
value=3D"/cgi-bin/mapserv.exe"><BR><input type=3D"hidden"=20
name=3D"map_web_imagepath" =
value=3D"C:\inetpub\wwwroot\tmp\"><BR><input=20
type=3D"hidden" name=3D"map_web_imageurl" =
value=3D"/tmp/"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><center><input type=3D"submit" =

value=3D"Initialize"></center></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></form></FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2><p><hr><p></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></body></html></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The only changes I made to my demo.map =
file is -=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> # change this value to match your =

setup<BR>   WMS_ONLINERESOURCE "<A=20
href=3D"http://localhost/demo_init.html">http://localhost/demo_init.html<=
/A>"=20
<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I placed all the dlls in the =
winnt/system32/ , the=20
mapserv.exe in the c:/Inetpub/wwwroot/cgi-bib/ and the other *.exe files =
in the=20
c:/winnt/</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for your help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Steve</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </DIV>
<DIV><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0027_01C2AB7D.511C0E10--




More information about the MapServer-users mailing list