[mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

Paul james pauljame at gmail.com
Fri May 29 11:07:57 EDT 2009


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 <pauljame at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090529/42b9aac7/attachment-0001.html


More information about the mapserver-users mailing list