Hi, Please use “Reply all” for sending mail to the list as well. If your trouble gets solved the mailing list archives may help other Mapserver users later.
You have such a new Mapserver version that you must take care of some additional security settings https://www.mapserver.org/optimization/limit_mapfile_access.html#limit-mapfile-access Have a look at your Apache httpd.conf file. Do you see a configuration of environment variable MS_MAP_PATTERN there? I am sorry but I cannot help with writing correct regexp, I do not really understand it myself. It takes me usually a few copy-paste-edit-test rounds to make the regexp work. -Jukka Rahkonen- Lähettäjä: Kenneth Kniel <[email protected]> Lähetetty: maanantai 15. marraskuuta 2021 21.37 Vastaanottaja: Rahkonen Jukka (MML) <[email protected]> Aihe: Re: [mapserver-users] msCGILoadMap(): Web application error. CGI variable "map" is not set Thank you sir. Now I have Bobb's problem a permissions issue I believe. msLoadMap(): Unable to access file. (/ms4w/apps/tutorial/htdocs/example1-1.map) On Nov 15, 2021, at 2:03 PM, Rahkonen Jukka (MML) <[email protected]<mailto:[email protected]>> wrote: 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 <[email protected]<mailto:[email protected]>> Puolesta Kenneth Kniel via MapServer-users Lähetetty: maanantai 15. marraskuuta 2021 20.19 Vastaanottaja: [email protected]<mailto:[email protected]> 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.
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
