> 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 Yeah, look at the URL. %20 is a space. Get rid of the space and you should be fine.