[mapserver-users] FW: Get demo started on Windows 2000.
Hankley, Chip
Chip.Hankley at GASAI.Com
Wed Sep 11 12:02:58 PDT 2002
John...
If nothing is being written to tmp, then you need to check several things.
1) the default dir for scripts in IIS is /scripts not /cgi-bin. Did you
create a virtual directory called /cgi-bin? Is that where the mapserv.exe
file is? Did you give the default web user IUSR_<machine name> execute
permission for that directory both through the IIS manager AND windows?
2) Does IUSR have write access to /tmp? Again, this needs to be done BOTH in
the IIS manager and in windows.
You can easily check you things are going simply by typing in the path to
your mapfile from a URL:
http://localhost/cgi-bin/mapserv.exe?c:\path-to-your-mapfile.map
Chip
-----Original Message-----
From: John Bennett [mailto:john.bennett at noetix.on.ca]
Sent: Wednesday, September 11, 2002 1:16 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] FW: Get demo started on Windows 2000.
Thanks for the many replies to my question below.
I still have the same problem even after I make sure the "\" are "/" and all
the permissions are set correctly for the 'tmp' directory and trying
<input type="hidden" name="map_web_imageurl"
value="http://<myserver>/tmp/">
Is there another way of checking that the basic functionality of mapserv.exe
is working correctly or can anyone think of anything else that I may have
over looked.
BTW: In IE when I click "Initialize" and the new "MapServer Demo Interface "
web page pops up, the properties of the "x" images appear
correct(http://dell810/tmp/DEMOleg10317674441924.gif) but nothing is being
written to the tmp directory.
I'm using windows 2000, IIS, MapServer3.6.1
Thanks
John
-----Original Message-----
From: John Bennett [mailto:john.bennett at noetix.on.ca]
Sent: Monday, September 09, 2002 4:56 PM
To: mapserver-users at lists.gis.umn.edu
Subject: Get demo started on Windows 2000.
I've got the demo "itasca" to work on my windows NT, but I really want it to
work on my windows 2000. I've installed everything in the correct places as
described in 'readme.gif.wms.html' when installing the binary (pre-compiled)
MApserver version 3.6.1.
I changed my demo.map file and demo_init.html file to work with my windows
IIS. When I load demo_init.html in IE and click 'Initialize' the MapServer
Demo Interface pops up, but no images are show. There are no Images that are
created in the "tmp" directory. It worked on my Windows nt, same setup.
THe following is my demo_init.html file:
<html>
<head><title>MapServer Demo Interface</title></head>
<body bgcolor="#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=GET action="http://dell810/cgi-bin/mapserv.exe">
<input type="hidden" name="map" value="c:/Inetpub/wwwroot/itasca/demo.map">
<input type="hidden" name="layer" value="lakespy2">
<input type="hidden" name="layer" value="dlgstln2">
<input type="hidden" name="zoomsize" value=2>
<input type="hidden" name="program" value="/cgi-bin/mapserv.exe">
<input type="hidden" name="map_web_imagepath"
value="c:/inetpub/wwwroot/tmp/">
<input type="hidden" name="map_web_imageurl" value="/tmp/">
<center><input type="submit" value="Initialize"></center>
</form>
<p><hr><p>
</body></html>
Any help would be much appreciated.
Thanks
John
More information about the MapServer-users
mailing list