<!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>&nbsp;</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 &lt;<FONT 
color=#0000ff><U><A href="mailto:rday@pa.net">rday@pa.net</A></U><FONT 
color=#000000>&gt;<BR>To: Ronald Lieuw &lt;<FONT color=#0000ff><U><A 
href="mailto:rlieuws@cura.net">rlieuws@cura.net</A></U><FONT 
color=#000000>&gt;<BR>Subject: Re: mapserver demo problems<BR>Date: Monday, July 
17, 2000 1:40 AM<BR><BR><FONT size=2>Ron,<FONT size=3> &nbsp;<FONT size=2>Try 
this in your HTML : &lt;form method="GET" action="<FONT 
color=#0000ff><U>http://aptiva/scripts/mapserver.exe</U><FONT 
color=#000000>"&gt;<FONT size=3> &nbsp;<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> 
&lt;<FONT color=#0000ff><U>http://aptiva</U><FONT color=#000000>&gt;/[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> &lt;<FONT 
color=#0000ff><U>http://aptiva/scripts</U><FONT color=#000000>&gt;. In your NT 
structure it is actually C:\inetpub\scripts\ . <FONT size=3>&nbsp;<FONT 
size=2>It is like UNIX's symbolic paths.<FONT size=3> &nbsp;&nbsp;<FONT 
size=2>Robert Day<BR><FONT color=#0000ff><U>robert.day@konsalt.com</U><FONT 
color=#000000> &lt;<FONT color=#0000ff><U>mailto:robert.day@konsalt.com</U><FONT 
color=#000000>&gt; <BR>www.konsalt.com &lt;<FONT 
color=#0000ff><U>http://www.konsalt.com</U><FONT color=#000000>&gt; <BR><BR></P>
<P><FONT size=3>----- Original Message ----- <B>From:</B> Ronald Lieuw &lt;<FONT 
color=#0000ff><U>mailto:rlieuws@cura.net</U><FONT color=#000000>&gt;<B> To:</B> 
Robert Day &lt;<FONT color=#0000ff><U>mailto:rday@pa.net</U><FONT 
color=#000000>&gt; <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 
-&gt; 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&amp;layer=lakes&amp;layer=streams&amp;zoomsize=2</U><FONT 
color=#000000> &lt;<FONT 
color=#0000ff><U>http://aptiva/inetpub/scripts/mapserv.exe?map=c%3A%5Cinetpub%5Cwwwroot%5Cms_demo%5Cdemo.map&amp;layer=lakes&amp;layer=streams&amp;zoomsize=2</U><FONT 
color=#000000>&gt;<FONT size=3> &nbsp;<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>&lt;html&gt;<BR>&lt;head&gt;<BR>&lt;title&gt;MapServer 
Demo Interface&lt;/title&gt;<BR>&lt;/head&gt;<BR>&lt;body 
bgcolor="#FFFFFF"&gt;<FONT size=3> &nbsp;<FONT size=2>&lt;h2 
align="center"&gt;MapServer Demo Interface&lt;/h2&gt;<FONT size=3> &nbsp;<FONT 
size=2>&lt;hr&gt;<FONT size=3> &nbsp;<FONT size=2>&lt;form method="GET" 
action="<FONT 
color=#0000ff><U>http://aptiva/inetpub/scripts/mapserv.exe</U><FONT 
color=#000000>"&gt;<BR>&lt;input type="hidden" name="map" 
value="c:\inetpub\wwwroot\ms_demo\demo.map"&gt;<BR>&lt;input type="hidden" 
name="layer" value="lakes"&gt;<BR>&lt;input type="hidden" name="layer" 
value="streams"&gt;<BR>&lt;input type="hidden" name="zoomsize" 
value="2"&gt;<BR>&lt;div 
&nbsp;align="center"&gt;&lt;center&gt;&lt;p&gt;<BR>&lt;input type="submit" 
value="Initialize"&gt; 
&lt;/p&gt;<BR>&lt;/center&gt;&lt;/div&gt;<BR>&lt;/form&gt;<FONT size=3> 
&nbsp;<FONT 
size=2>&lt;hr&gt;<BR>&lt;/body&gt;<BR>&lt;/html&gt;<BR>-----------------------</P>
<P><B>-----Original Message-----</B><BR><B>From:</B> Robert Day &lt;<FONT 
color=#0000ff><U>rday@pa.net</U><FONT color=#000000> &lt;<FONT 
color=#0000ff><U>mailto:rday@pa.net</U><FONT color=#000000>&gt;&gt;<BR><B>To: 
</B>Ronald Lieuw &lt;<FONT color=#0000ff><U>rlieuws@cura.net</U><FONT 
color=#000000> &lt;<FONT color=#0000ff><U>mailto:rlieuws@cura.net</U><FONT 
color=#000000>&gt;&gt;<BR><B>Date:</B> Sunday, July 16, 2000 4:37 
PM<BR><B>Subject: </B>Re: mapserver demo problems<BR><BR>Ronald Lieuw, 
&nbsp;&nbsp;&nbsp;&nbsp;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. &nbsp;&nbsp;&nbsp;&nbsp;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> &nbsp;<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> &lt;<FONT 
color=#0000ff><U>mailto:robert.day@konsalt.com</U><FONT color=#000000>&gt; 
<BR>www.konsalt.com &lt;<FONT color=#0000ff><U>http://www.konsalt.com</U><FONT 
color=#000000>&gt; <BR><BR></P>
<P><FONT size=3>----- Original Message ----- <B>From:</B> Ronald Lieuw &lt;<FONT 
color=#0000ff><U>mailto:rlieuws@cura.net</U><FONT color=#000000>&gt;<B> To:</B> 
mapserver &lt;<FONT 
color=#0000ff><U>mailto:mapserver-users@lists.gis.umn.edu</U><FONT 
color=#000000>&gt; <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 &amp; IE4.1 and the NT 
server (named <FONT color=#0000ff><U>file://aptiva</U><FONT color=#000000> 
&lt;<FONT color=#0000ff><U>file://aptiva</U><FONT color=#000000>&gt;) 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> &nbsp;<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>&lt;html&gt;<FONT size=3> &nbsp;<FONT 
size=2>&lt;head&gt;<BR>&lt;title&gt;MapServer Demo 
Interface&lt;/title&gt;<BR>&lt;/head&gt;<FONT size=3> &nbsp;<FONT 
size=2>&lt;body bgcolor="#FFFFFF"&gt;<FONT size=3> &nbsp;<FONT size=2>&lt;h2 
align="center"&gt;MapServer Demo Interface&lt;/h2&gt;<FONT size=3> &nbsp;<FONT 
size=2>&lt;hr&gt;<FONT size=3> &nbsp;<FONT size=2>&lt;form method="GET" 
action="/cgi-bin/mapserv.exe"&gt;<BR>&nbsp;&lt;input type="hidden" name="map" 
value="c:\inetpub\wwwroot\ms_demo\demo.map"&gt;&lt;input<BR>type="hidden" 
name="layer" value="lakes"&gt;&lt;input type="hidden" name="layer" 
&nbsp;&nbsp;value="streams"&gt;&lt;input type="hidden" name="zoomsize" 
value="2"&gt;&lt;div &nbsp;align="center"&gt;&lt;center&gt;&lt;p&gt;&lt;input 
type="submit" value="Initialize"&gt; 
&lt;/p&gt;<BR>&lt;/center&gt;&lt;/div&gt;<BR>&lt;/form&gt;<FONT size=3> 
&nbsp;<FONT 
size=2>&lt;hr&gt;<BR>&lt;/body&gt;<BR>&lt;/html&gt;<BR>-----------------------------<BR>When 
I press initialize, I get the following errormsg -&gt; File download (you have 
choosen to download a file mapserv.exe from c:\cgi-bin bla bla bla)<FONT size=3> 
&nbsp;<FONT size=2>Alternatively when I change in demo_t2.html: &lt;form 
method="GET" action="<FONT 
color=#0000ff><U>http://aptiva/cgi-bin/mapserv.exe</U><FONT color=#000000>"&gt; 
and press initialize, I get the following errormsg -&gt;HTTP/1.0 500 Server 
Error (The system cannot find the path specified. )<BR>Question: What am I doing 
wrong?<FONT size=3> &nbsp;<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> 
&nbsp;<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>