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

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Mon Nov 15 10:39:55 PST 2021


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-bounces at lists.osgeo.org> on behalf of "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org>
Reply-To: Kenneth Kniel <kkniel at mac.com>
Date: Monday, November 15, 2021 at 12:19 PM
To: "mapserver-users at lists.osgeo.org" <mapserver-users at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20211115/15d84609/attachment.html>


More information about the MapServer-users mailing list