I got that error when try to enter : <a href="http://localhost/cgi-bin/mapserv.exe?map=C:/map.map">http://localhost/cgi-bin/mapserv.exe?map=C:/map.map</a><br><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:<br>
<br><br>My Map:<br><br>MAP<br> EXTENT -79.7892 -34.2426 -24.9958 6.11775<br> FONTSET "Fonts\Fonts.txt"<br> IMAGECOLOR 230 254 254<br>
IMAGETYPE png<br> SIZE 800 600<br> STATUS ON<br> UNITS dd<br> NAME "Test" <br> <br> OUTPUTFORMAT<br> NAME "png"<br> MIMETYPE "image/png"<br> DRIVER "GD/PNG"<br>
EXTENSION "png"<br> IMAGEMODE "PC256"<br> TRANSPARENT FALSE<br> END<br> <br> PROJECTION<br> 'proj=longlat'<br> 'ellps=WGS84'<br> 'datum=WGS84'<br>
'no_defs'<br> END<br><br> WEB<br> IMAGEPATH 'C:\map\temp'<br> IMAGEURL '/tmp/'<br> QUERYFORMAT text/html<br> LEGENDFORMAT text/html<br> BROWSEFORMAT text/html<br>
END<br> <br> QUERYMAP<br> COLOR 255 0 0<br> SIZE -1 -1<br> STATUS ON<br> STYLE hilite<br> END<br> <br> REFERENCE<br> EXTENT -79.7892 -34.2426 -24.9958 6.11775 <br> STATUS on<br>
SIZE 221 150<br> MINBOXSIZE 5<br> MAXBOXSIZE 150<br> COLOR -1 -1 -1<br> OUTLINECOLOR 255 0 0<br> MARKERSIZE 8<br> END <br><br>LAYER<br> NAME Test<br> GROUP "Tests"<br>
TYPE POLYGON<br> STATUS default<br> CONNECTIONTYPE POSTGIS<br> CONNECTION "user=xpassword=xdbname=x host=x port=5432" <br> DATA "the_geom from viwgeo_x USING UNIQUE oid USING SRID=-1"<br>
CLASS<br> COLOR 255 0 255<br> END<br> END <br><br>END<br><br><br>