<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
href="mailto:rlieuws@cura.net" title=rlieuws@cura.net>Ronald Lieuw-Sjong</A>
</DIV>
<DIV><B>To:</B> <A href="mailto:rday@pa.net" title=rday@pa.net>Robert Day</A>
</DIV>
<DIV><B>Sent:</B> Monday, July 17, 2000 2:18 PM</DIV>
<DIV><B>Subject:</B> Re: mapserver demo problems</DIV></DIV>
<DIV><BR></DIV>
<P><FONT color=#000000 face=Arial size=2>Robert, that did the trick an it works
beautifully.<BR>Many thanks.<BR>I noted the time you sent the email. Do you
sleep at all :-)<BR>Ronald<BR>----------<BR>From: Robert Day <<FONT
color=#0000ff><U><A href="mailto:rday@pa.net">rday@pa.net</A></U><FONT
color=#000000>><BR>To: Ronald Lieuw <<FONT color=#0000ff><U><A
href="mailto:rlieuws@cura.net">rlieuws@cura.net</A></U><FONT
color=#000000>><BR>Subject: Re: mapserver demo problems<BR>Date: Monday, July
17, 2000 1:40 AM<BR><BR><FONT size=2>Ron,<FONT size=3> <FONT size=2>Try
this in your HTML : <form method="GET" action="<FONT
color=#0000ff><U>http://aptiva/scripts/mapserver.exe</U><FONT
color=#000000>"><FONT size=3> <FONT size=2>Remember that the web server
has it's own directory structure. As it's default IIS root is [drive
letter]:\inetpub\wwwroot\ that means that anything in here is reached with your
browser as <FONT color=#0000ff><U>http://aptiva</U><FONT color=#000000>
<<FONT color=#0000ff><U>http://aptiva</U><FONT color=#000000>>/[FILE name]
or [DIR Name/FILE name] now the scripts directory is virtual and as far as the
web server cares is under the wwwroot. Example: <FONT
color=#0000ff><U>http://aptiva/scripts</U><FONT color=#000000> <<FONT
color=#0000ff><U>http://aptiva/scripts</U><FONT color=#000000>>. In your NT
structure it is actually C:\inetpub\scripts\ . <FONT size=3> <FONT
size=2>It is like UNIX's symbolic paths.<FONT size=3> <FONT
size=2>Robert Day<BR><FONT color=#0000ff><U>robert.day@konsalt.com</U><FONT
color=#000000> <<FONT color=#0000ff><U>mailto:robert.day@konsalt.com</U><FONT
color=#000000>> <BR>www.konsalt.com <<FONT
color=#0000ff><U>http://www.konsalt.com</U><FONT color=#000000>> <BR><BR></P>
<P><FONT size=3>----- Original Message ----- <B>From:</B> Ronald Lieuw <<FONT
color=#0000ff><U>mailto:rlieuws@cura.net</U><FONT color=#000000>><B> To:</B>
Robert Day <<FONT color=#0000ff><U>mailto:rday@pa.net</U><FONT
color=#000000>> <B>Sent:</B> Sunday, July 16, 2000 11:18 PM<B> Subject:</B>
Re: mapserver demo problems <BR><FONT size=2>Robert,<BR>Thanks for yr prompt
reply, I followed yr advice about the predefined cgi-bin, which is
InetPub\scripts.<BR>I changed the code as below, but now I receive an error
-> HTTP/1.0 404 Object Not Found<BR>in the IE window the following
code:<BR><FONT
color=#0000ff><U>http://aptiva/inetpub/scripts/mapserv.exe?map=c%3A%5Cinetpub%5Cwwwroot%5Cms_demo%5Cdemo.map&layer=lakes&layer=streams&zoomsize=2</U><FONT
color=#000000> <<FONT
color=#0000ff><U>http://aptiva/inetpub/scripts/mapserv.exe?map=c%3A%5Cinetpub%5Cwwwroot%5Cms_demo%5Cdemo.map&layer=lakes&layer=streams&zoomsize=2</U><FONT
color=#000000>><FONT size=3> <FONT size=2>I've checked as far as I
could and it seems as all the files are present<BR>What's missing?<BR>Ronald
Lieuw<BR>--------------------------<BR><html><BR><head><BR><title>MapServer
Demo Interface</title><BR></head><BR><body
bgcolor="#FFFFFF"><FONT size=3> <FONT size=2><h2
align="center">MapServer Demo Interface</h2><FONT size=3> <FONT
size=2><hr><FONT size=3> <FONT size=2><form method="GET"
action="<FONT
color=#0000ff><U>http://aptiva/inetpub/scripts/mapserv.exe</U><FONT
color=#000000>"><BR><input type="hidden" name="map"
value="c:\inetpub\wwwroot\ms_demo\demo.map"><BR><input type="hidden"
name="layer" value="lakes"><BR><input type="hidden" name="layer"
value="streams"><BR><input type="hidden" name="zoomsize"
value="2"><BR><div
align="center"><center><p><BR><input type="submit"
value="Initialize">
</p><BR></center></div><BR></form><FONT size=3>
<FONT
size=2><hr><BR></body><BR></html><BR>-----------------------</P>
<P><B>-----Original Message-----</B><BR><B>From:</B> Robert Day <<FONT
color=#0000ff><U>rday@pa.net</U><FONT color=#000000> <<FONT
color=#0000ff><U>mailto:rday@pa.net</U><FONT color=#000000>>><BR><B>To:
</B>Ronald Lieuw <<FONT color=#0000ff><U>rlieuws@cura.net</U><FONT
color=#000000> <<FONT color=#0000ff><U>mailto:rlieuws@cura.net</U><FONT
color=#000000>>><BR><B>Date:</B> Sunday, July 16, 2000 4:37
PM<BR><B>Subject: </B>Re: mapserver demo problems<BR><BR>Ronald Lieuw,
In the IIS admin tools do you have {execute(including
scripts)} checked for the dir c:/cgi-bin? If you don't IE4.1 will try to
download the file instead of execute it. There is a predefined cgi_bin in the
(InetPub\wwwroot\) dir. This is were you should but the mapserver.exe. Also
ensure that that dir is shared to the web server. It
will also be a good idea to install the SP6 and OP4 to the server due to
numerous bugs in SP4. These are downloads from MS's site. I don't remember the
URL, but I will look and send it to you.<FONT size=3> <FONT size=2>I have
had great success with IIS and the mapserver. Robert Day<BR><FONT
color=#0000ff><U>robert.day@konsalt.com</U><FONT color=#000000> <<FONT
color=#0000ff><U>mailto:robert.day@konsalt.com</U><FONT color=#000000>>
<BR>www.konsalt.com <<FONT color=#0000ff><U>http://www.konsalt.com</U><FONT
color=#000000>> <BR><BR></P>
<P><FONT size=3>----- Original Message ----- <B>From:</B> Ronald Lieuw <<FONT
color=#0000ff><U>mailto:rlieuws@cura.net</U><FONT color=#000000>><B> To:</B>
mapserver <<FONT
color=#0000ff><U>mailto:mapserver-users@lists.gis.umn.edu</U><FONT
color=#000000>> <B>Sent:</B> Sunday, July 16, 2000 11:04 AM<B> Subject:</B>
mapserver demo problems <BR><FONT size=2>Hi, I am new to webpublishing but know
GIS.<BR>Configuration:<BR>I am using NT4.0 (SP4), IIS & IE4.1 and the NT
server (named <FONT color=#0000ff><U>file://aptiva</U><FONT color=#000000>
<<FONT color=#0000ff><U>file://aptiva</U><FONT color=#000000>>) console to
run the mapserver demo.<BR>I installed mapserv.exe in c:/cgi-bin and the other
files in InetPub\wwwroot\ms_demo.<FONT size=3> <FONT size=2>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)<BR>demo_t2.html
source:<BR>----------------------------<BR><html><FONT size=3> <FONT
size=2><head><BR><title>MapServer Demo
Interface</title><BR></head><FONT size=3> <FONT
size=2><body bgcolor="#FFFFFF"><FONT size=3> <FONT size=2><h2
align="center">MapServer Demo Interface</h2><FONT size=3> <FONT
size=2><hr><FONT size=3> <FONT size=2><form method="GET"
action="/cgi-bin/mapserv.exe"><BR> <input type="hidden" name="map"
value="c:\inetpub\wwwroot\ms_demo\demo.map"><input<BR>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><BR></center></div><BR></form><FONT size=3>
<FONT
size=2><hr><BR></body><BR></html><BR>-----------------------------<BR>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)<FONT size=3>
<FONT size=2>Alternatively when I change in demo_t2.html: <form
method="GET" action="<FONT
color=#0000ff><U>http://aptiva/cgi-bin/mapserv.exe</U><FONT color=#000000>">
and press initialize, I get the following errormsg ->HTTP/1.0 500 Server
Error (The system cannot find the path specified. )<BR>Question: What am I doing
wrong?<FONT size=3> <FONT size=2>Question:<BR>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?<BR>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?<FONT size=3>
<FONT size=2>TIA,<BR>Ronald Lieuw<BR>Curacao, Neth. Antilles</P>
<P><FONT
size=2><BR></P></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></BODY></HTML>