[Mapserver-users] Windows XP

Bobby Khondker kmh_b at hotmail.com
Mon Feb 9 08:33:03 PST 2004


I am trying to get the Demo working under Windows XP Professional.  I get 
the following error message when I clcik on the SUBMIT Button:

CGI Error
The specified CGI application misbehaved by not returning a complete set of 
HTTP headers. The headers it did return are:




There is nothing output after .... The headers it did return are:

Can Anyone help out please?

Regards.

Bobby.

----------------------------------------------------
My Folder Configuration is as follows:
----------------------------------------------------
C:\Intepub\wwwroot\CGI-BIN (virtual directory is called cgi-bin having 
execute permissions)
                  \itasca  (virtual directory is called itasca)
                  \itasca\CVS
                  \itasca\data
                  \itasca\graphics
                  \itasca\perl
                  \itasca\symbol
                  \itasca\*.html, demo.log, demo.map
C:\Intepub\wwwroot\tmp (virtual directory is called tmp having write 
permissions)


----------------------------------------------------
The changes I made are as follows
----------------------------------------------------

***************************
THE 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="/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="c:\Inetpub\wwwroot\cgi-bin\mapserv.exe">
<!--<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>


**********************************
CHANGES MADE TO THE DEMO.MAP FILE
**********************************

    # change this value to match your setup
    WMS_ONLINERESOURCE "http://localhost/itasca/demo_init.html"

_________________________________________________________________
Choose now from 4 levels of MSN Hotmail Extra Storage - no more account 
overload! http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/




More information about the MapServer-users mailing list