Just some more information about the problem...
The error was generated by IIS (5.1 and 6.0) ... Looking the Logfile, It is
a 502 error :

*502* - Web server received an invalid response while acting as a gateway or
proxy.

*502.1* - CGI application timeout.
*502.2* - Error in CGI application.

It only happens with Mapserver 5.4 ... With 5.2 version, thats 100%
working...

Paul

On Thu, May 28, 2009 at 5:43 PM, Paul james <paulj...@gmail.com> wrote:

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

Reply via email to