[ms4w-users] loadMap(): Web application error. CGI variable "map" is not set

Oyama Kula oyama.k at sa-solutions.co.za
Tue Aug 15 02:42:35 EDT 2006


Hey Guyz
 
 
 
 I've been trying working on my first map file called sample.map 
 
MAP     
        IMAGETYPE PNG
        SIZE    600 300
        EXTENT  -180 -90 180 90
        SHAPEPATH "/ms4w/Apache/htdocs/data"
        IMAGECOLOR 255 255 255
        LAYER   
               NAME    countries
               TYPE    POLYGON
               STATUS  DEFAULT
               DATA    countries_simpl
               LABELITEM 'NAME'
               CLASS
                       STYLE
                               OUTLINECOLOR 100 100 100
                       END
                       LABEL
                               MINFEATURESIZE 40
                       END
               END
        END
END
 
But when I type the following URL:
 
 
http://localhost/cgibin/mapserv.exe?map=/ms4w/Apache/htdocs/data/sample.map&
layer=countries&mode=map
 
 Then I only get this error massage:
 
loadMap(): Web application error. CGI variable "map" is not set.
 
 
 can someone help me with this bec

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20060815/e3b1319b/attachment.html


More information about the ms4w-users mailing list