[Mapserver-users] Install help on Win 2000 Server with IIS

Chip Hankley Chip.Hankley at rmtinc.com
Fri May 21 07:21:22 PDT 2004


> <form name="demo" method="GET" action="\scripts\mapserv.exe"
onSubmit="submit_form()">
> <input type="hidden" name="map"
value="C:\Inetpub\wwwroot\workshop\itasca.map">
> <input type="hidden" name="program" value="\scripts\mapserv.exe"> 
> <input type="hidden" name="root"
value="C:\Inetpub\wwwroot\workshop">
> <input type="hidden" name="map_web_imagepath" value="\tmp\">
> <input type="hidden" name="map_web_imageurl" value="\tmp\">

Ross -

Your variables seem different from the way I do mine (also Win2K, IIS).
All of the paths in my setup are essentially urls, except for "map" and
"map_web_imagepath". See below:

<form name="demo" method="GET" action="/scripts/mapserv.exe"
onSubmit="submit_form()">

<input type="hidden" name="map"
value="..\wwwroot\MapServer\PointTest\ogr.map">
<input type="hidden" name="program" value="/scripts/mapserv.exe">
<input type="hidden" name="root" value="/MapServer/PointTest/">
<input type="hidden" name="map_web_imagepath"
value="C:\inetpub\wwwroot\tmp\">
<input type="hidden" name="map_web_imageurl" value="/tmp/">

Note that I'm using a relative path for my "map" value, but that I
hard-code the "map_web_imagepath" value. I'm not sure why, but this is
the only way that it worked. Also, for all urls, I use forward slashes.

Once you get this straightened out, the next thing to check is your tmp
directory. If it's working, you should see images being generated in tmp
when you load a page. A common issue with the TMP directory is NOT
giving the default web user (IUSR_<machine>) write permission to that
directory. EVERYONE FULL CONTROL will NOT work.

hth!

Chip



Outgoing messages, along with any attachments, are scanned for viruses at RMT prior to sending.
------------------------------------------------------------------------------
NOTICE--This email may contain confidential and privileged information 
for the sole use of the intended recipient.  Any review or distribution
by others is strictly prohibited.  If you are not the intended recipient,
please contact the sender immediately and delete all copies.



More information about the MapServer-users mailing list