mapserver demo problems
Ronald Lieuw
rlieuws at cura.net
Sun Jul 16 08:04:41 PDT 2000
Hi, I am new to webpublishing but know GIS.
Configuration:
I am using NT4.0 (SP4), IIS & IE4.1 and the NT server (named //aptiva) console to run the mapserver demo.
I installed mapserv.exe in c:/cgi-bin and the other files in InetPub\wwwroot\ms_demo.
>From the demo on the internet I understand that to start the demo you have to call the initfile in IE, in my case c:\inetpub\wwwroot\ms_demo\demo_t2.html (see below,I changed the contents of the original demo_init.html file I downloaded)
demo_t2.html source:
----------------------------
<html>
<head>
<title>MapServer Demo Interface</title>
</head>
<body bgcolor="#FFFFFF">
<h2 align="center">MapServer Demo Interface</h2>
<hr>
<form method="GET" action="/cgi-bin/mapserv.exe">
<input type="hidden" name="map" value="c:\inetpub\wwwroot\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"><div align="center"><center><p><input type="submit" value="Initialize"> </p>
</center></div>
</form>
<hr>
</body>
</html>
-----------------------------
When I press initialize, I get the following errormsg -> File download (you have choosen to download a file mapserv.exe from c:\cgi-bin bla bla bla)
Alternatively when I change in demo_t2.html: <form method="GET" action="http://aptiva/cgi-bin/mapserv.exe"> and press initialize, I get the following errormsg ->HTTP/1.0 500 Server Error (The system cannot find the path specified. )
Question: What am I doing wrong?
Question:
1. From the source of demo.html online I notice the mentioning of a demo.layout file, which I don't have in my files. Do I need that file?
2. I also read in the creating applications page about the use of either the GET or the POST cgi request. The online demo uses POST and some other commands. Which should I use?
TIA,
Ronald Lieuw
Curacao, Neth. Antilles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20000716/d56646a4/attachment.htm>
More information about the MapServer-users
mailing list