CGI variable "map" is not set

Stephanie Waite swaite at PWSSC.GEN.AK.US
Fri Jun 8 09:52:58 PDT 2007


Hello, I am trying to work on my first simple map, but I keep getting the
following error:

loadMap(): Web application error. CGI variable "map" is not set.

The URL that I type:
http://localhost/cgi-bin/mapserv.exe?%20map=/ms4w/apps/tutorial/htdocs/example1-1.map&layer=states&mode=map
 
Here is the Example1-1.map 
MAP
  IMAGETYPE      PNG
  EXTENT         -97.238976 41.619778 -82.122902 49.385620
  SIZE           400 300
  SHAPEPATH      "/ms4w/apps/tutorial/data"
  IMAGECOLOR     255 255 255
 
  LAYER 
    NAME         states
    DATA         states_ugl
    STATUS       OFF
    TYPE         POLYGON
 
    CLASS
      NAME       "The Upper Great Lakes States"
 
      STYLE
        COLOR        232 232 232
        OUTLINECOLOR 32 32 32
      END
    END
  END 
 
END  
 
Any help would be appreciated to get me started. Thank you!
 



More information about the MapServer-users mailing list