MapServer 4.4.1 Demo
Lisi, Christine
lisi at MYDELRAYBEACH.COM
Wed Mar 9 07:31:40 PST 2005
I've installed MapServer and successfully received the "No query
information to decode. QUERY_STRING is set, but empty." message. Now I
am trying to get the MapServer 4.4.1 Demo to work. (Windows Server
2003, IIS6, MapServer 4.4.1)
Here are the steps I have taken:
1. Copied the WORKSHOP folder to C:\Inetpub\wwwroot
2. Created a tmp folder inside C:\Inetpub\wwwroot\workshop and
gave the IUSR account Read/Write/Execute permissions
3. Set default page to INDEX.HTML in IIS
4. Changed Execute Permissions in IIS to allow SCRIPTS and
EXECUTABLES.
5. Edited INDEX.HTML file as follows (edits in bold):
<!-- EDIT THE FORM ACTION -->
<form name="demo" method="GET"
action="http:\\esgisrv001\cgi-bin\mapserv.exe" onSubmit="submit_form()">
<input type="hidden" name="layer" value="lakespy2">
<input type="hidden" name="layer" value="dlgstln2">
<input type="hidden" name="zoomsize" value=2>
<!-- EDIT THESE HIDDEN VARIABLES -->
<input type="hidden" name="map"
value="C:\Inetpub\wwwroot\workshop\itasca.map">
<input type="hidden" name="program"
value="C:\Inetpub\wwwroot\cgi-bin/mapserv.exe">
<input type="hidden" name="root"
value="C:\Inetpub\wwwroot\workshop\">
<input type="hidden" name="map_web_imagepath"
value="C:\Inetpub\wwwroot\workshop\tmp\">
<input type="hidden" name="map_web_imageurl"
value="C:\Inetpub\wwwroot\workshop\tmp\">
I get the MapServer Itasca Application initial screen, but when I click
to initialize the BASIC APPLICATION using these variables I receive the
following error:
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers.
6. Edited INDEX.HTML file as follows (edits in bold):
<!-- EDIT THE FORM ACTION -->
<form name="demo" method="GET"
action="http:\\esgisrv001\cgi-bin\mapserv.exe" onSubmit="submit_form()">
<input type="hidden" name="layer" value="lakespy2">
<input type="hidden" name="layer" value="dlgstln2">
<input type="hidden" name="zoomsize" value=2>
<!-- EDIT THESE HIDDEN VARIABLES -->
<input type="hidden" name="map"
value="http:\\esgisrv001\workshop\itasca.map">
<input type="hidden" name="program"
value="http:\\esgisrv001\cgi-bin\mapserv.exe">
<input type="hidden" name="root"
value="http:\\esgisrv001\workshop\">
<input type="hidden" name="map_web_imagepath"
value="http:\\esgisrv001\workshop\tmp\">
<input type="hidden" name="map_web_imageurl"
value="http:\\esgisrv001\workshop\tmp\">
I get the MapServer Itasca Application initial screen, but when I click
to initialize the BASIC APPLICATION using these variables I receive the
following error:
msLoadMap(): Unable to access file.
(http:\\esgisrv001\workshop\itasca.map)
Can anyone help?
Thanks.
Christine Lisi
Application Specialist
Management Information Systems * City of Delray Beach * 100 NW First
Avenue, Delray Beach, FL 33444
Phone, 561-243-7142 * Fax, 561-243-7166 * eMail, Lisi at MyDelrayBeach.com
<mailto:Lisi at MyDelrayBeach.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050309/ef87859d/attachment.htm>
More information about the MapServer-users
mailing list