CGI variable "map" is not set

Jeff McKenna jmckenna at DMSOLUTIONS.CA
Fri Jun 8 11:40:11 PDT 2007


Also, since you are using MS4W, you might want to use the "PHP/MapScript 
Sample Application" addon package for MS4W for guidance, since it 
out-of-the-box sets up a WMS mapfile for you (see your localhost page 
after installing).

jeff



Gregor Mosheh wrote:
>> 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.
> 


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the MapServer-users mailing list