Does that MAPFILE actually exist in that location on the server:

map=/ms4w/apps/tutorial/htdocs/example1-1.map

If it does, then you may have a config/permissions problem on the (root of the) 
server.  Mac OS has it’s own web service for example and it sometimes takes a 
little fiddling to get add-on working.

Bobb






From: MapServer-users <mapserver-users-boun...@lists.osgeo.org> on behalf of 
"mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org>
Reply-To: Kenneth Kniel <kkn...@mac.com>
Date: Monday, November 15, 2021 at 12:19 PM
To: "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org>
Subject: [mapserver-users] msCGILoadMap(): Web application error. CGI variable 
"map" is not set

Think Before You Click: This email originated outside our organization.

Mac OS 11.6.1
Mapserver 7.6.4. Homebrew install

Working my way through the tutorial.  Going slow a lot of permission issues.

The Mapserver is running I go the no query response when I access from the 
server.


Trying to run the first example
//localhost/cgi-bin/mapserv?%20map=/ms4w/apps/tutorial/htdocs/example1-1.map&layer=states&mode=map<http://localhost/cgi-bin/mapserv?%20map=/ms4w/apps/tutorial/htdocs/example1-1.map&layer=states&mode=map>

Getting error in subject line above.

Thoughts?

Thanks in advance.
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to