[mapserver-users] Upgrading 5.2 -> 5.4 generating CGI error...

Paul james pauljame at gmail.com
Thu May 28 16:43:26 EDT 2009


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/20090528/213cc436/attachment.html


More information about the mapserver-users mailing list