<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi todd,<br>
do you have extracted all the dlls in a folder of the windows PATH
(i.e. c:\windows\system32)<br>
<br>
Regards,<br>
<br>
Andrea<br>
<br>
Todd Birkenholtz wrote:
<blockquote cite="mid20041022150922.6909.qmail@web40629.mail.yahoo.com"
type="cite">
<pre wrap="">I am new to Mapserver and the concept of GIS in
general.
I think I followed the install procedure and checked
the FAQ but must have overlooked something.
Here is my setup..
Windows XP with IIS
Installed ms42pg.zip (Mapserver Windows Binary Build)
My IIS folders
C:\Inetpub\tmp\ Temp folder
C:\Inetpub\wwwroot\tutorial\ tutorial location
C:\Inetpub\wwwroot\tutorial\data data folder
C:\Inetpub\scripts\mapserver.exe and mapserv.exe
URL
<a class="moz-txt-link-freetext" href="http://localhost/tutorial/">http://localhost/tutorial/</a>
<a class="moz-txt-link-freetext" href="http://localhost/tmp/">http://localhost/tmp/</a> temp folder
<a class="moz-txt-link-freetext" href="http://localhost/scripts/mapserv.exe">http://localhost/scripts/mapserv.exe</a> or mapserver.exe
When I go to <a class="moz-txt-link-freetext" href="http://localhost/scripts/mapserv.exe">http://localhost/scripts/mapserv.exe</a> I
get the correct result of
No query information to decode. QUERY_STRING not set.
I installed the MapServer Itasca demo and as far as I
can tell it is working.
I get an image and PNG files are placed in my tmp
folder.
Here is my problem..
I can not get the 4.0 Tutorial to work.
I edited my example1-1.html image src to point to my
mapfile
src="/scripts/mapserver.exe?map=c:\inetpub\wwwroot\tutorial\example1-1.map&mode=map"
</pre>
<pre wrap=""><!---->
The image url generated by example1-1.html is
<a class="moz-txt-link-freetext" href="http://localhost/scripts/mapserver.exe?map=c:\inetpub\wwwroot\tutorial\example1-1.map&mode=map">http://localhost/scripts/mapserver.exe?map=c:\inetpub\wwwroot\tutorial\example1-1.map&mode=map</a>
Here is my edited mapfile
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
MAP
IMAGETYPE PNG
EXTENT 201621.496941 -294488.285333
1425518.020722 498254.511514
SIZE 400 300
SHAPEPATH "C:\Inetpub\wwwroot\tutorial\data"
DEBUG on
IMAGECOLOR 255 255 255
PROJECTION
"proj=laea"
"ellps=clrk66"
"lat_0=45"
"lon_0=-100"
#
# Alternatively, you can specify an EPSG code.
# "init=epsg:2163"
#
END
# Start of LAYER DEFINITIONS
---------------------------------------------
LAYER # States polygon layer begins here
NAME states
DATA states_ugl
STATUS DEFAULT
TYPE POLYGON
PROJECTION
"init=epsg:4326"
END
CLASS
COLOR 232 232 232
OUTLINECOLOR 32 32 32
END
END # States polygon layer ends here
# End of LAYER DEFINITIONS
-------------------------------
END # end of map file/object
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
When I access example1-1html
I get the HTML tutorial but only a small box with a
red x in it where the image was to be.
When I go the URL
<a class="moz-txt-link-freetext" href="http://localhost/scripts/mapserver.exe?map=c:\inetpub\wwwroot\tutorial\example1-1.map&mode=map">http://localhost/scripts/mapserver.exe?map=c:\inetpub\wwwroot\tutorial\example1-1.map&mode=map</a>
I get this error message
CGI Error
The specified CGI application misbehaved by not
returning a complete set of HTTP headers. The headers
it did return are:
‰PNG
I am sure I forgot to install something or overlooked
something clearly in some documentation but I have
been struggling with this for several day’s
Can anybody help.
Thank You
Todd Birkenholtz
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
<a class="moz-txt-link-freetext" href="http://promotions.yahoo.com/new_mail">http://promotions.yahoo.com/new_mail</a>
</pre>
</blockquote>
<br>
</body>
</html>