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

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Mon Nov 15 11:03:54 PST 2021


Hi,

You seem to have an extra space character in your url after /mapserv?. See %20 in that place, it is space as url-encoded.

-Jukka Rahkonen-


Lähettäjä: MapServer-users <mapserver-users-bounces at lists.osgeo.org> Puolesta Kenneth Kniel via MapServer-users
Lähetetty: maanantai 15. marraskuuta 2021 20.19
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] msCGILoadMap(): Web application error. CGI variable "map" is not set

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/d5561834/attachment.html>


More information about the MapServer-users mailing list