Workshop Demo errors

Ron Swain [Contractor] ron.swain at CIPC.NAVY.MIL
Thu Jan 20 08:52:07 EST 2005


I have been beating my head for almost a week now on this issue.  I am
running Apache  server on Windows, installed the Mapserver 4.4 binary
correctly.  The command line mapserv -v runs perfectly.  I have
downloaded and installed the Itasca Workshop demo from:

http://maps.dnr.state.mn.us/mapserver_demos/workshop.zip

I have modified the index.html as follows:

    <!-- EDIT THE FORM ACTION -->

            <form name="demo" method="GET" action="/cgi-bin/mapserv"
onSubmit="submit_form()">

<!-- ORIG

    <form name="demo" method="GET" action="/cgi-bin/mapserv40"
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:\Program Files\Apache
Group\Apache\htdocs\workshop\itasca.map">

      <input type="hidden" name="program" value="/cgi-bin/mapserv">

      <input type="hidden" name="root" value="/htdocs/workshop">

      <input type="hidden" name="map_web_imagepath"
value="/htdocs/tmp/">

      <input type="hidden" name="map_web_imageurl" value="/tmp/">

<!--- ORIG

      <input type="hidden" name="map"
value="/usr/local/www/docs/mapserver_demos/workshop/itasca.map">

      <input type="hidden" name="program" value="/cgi-bin/mapserv40">

      <input type="hidden" name="root"
value="/mapserver_demos/workshop">

      <input type="hidden" name="map_web_imagepath"
value="/usr/local/www/docs/tmp/">

      <input type="hidden" name="map_web_imageurl" value="/tmp/">

-->

 

The Itasca.map file was altered as follows:

WMS_ONLINERESOURCE http://localhost/workshop/index.html

 

When I bring up the index.html file in the webbrowser and select [Basic
Application] Select Initialize - I see the following error:

 

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, ron.swain at cipc.navy.mil and
inform them of the time the error occurred, and anything you might have
done that may have caused the error.

 

More information about this error may be available in the server error
log.

------------------------------------------------------------------------
--------

 

Apache/1.3.31 Server at VWEB.CIPCpub.local Port 80

 

 

The Apache Server Log shows the following error:

[Thu Jan 20 08:39:59 2005] [error] [client 127.0.0.1] Premature end of
script headers: c:/program files/apache group/apache/cgi-bin/mapserv.EXE

 

 

When I bring up the index.html file in the webbrowser and select [ -
Adds DHTML rubber-band box] Select Initialize

The frames come up and the smaller map appears in the lower right,
nothing in the big map window on the left.  The browser status line
displays "Fetching Map"  and nothing else happens the apache server log
displays:

[Thu Jan 20 08:39:59 2005] [error] [client 127.0.0.1] Premature end of
script headers: c:/program files/apache group/apache/cgi-bin/mapserv.EXE

 

 

Any assistance would be greatly appreciated.

 

Thanks.

 

Ron Swain

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050120/aa2425b8/attachment.html


More information about the mapserver-users mailing list