[mapserver-users] Running on Mac Apache with Hombrew Install of Mapserver 7.6.4

Kenneth Kniel kkniel at mac.com
Thu Nov 18 07:13:47 PST 2021


Working through server issues have not really begun to see maps yet but have verified mapserver is running.

Latest issues  is that I am getting the

 msCGILoadMap(): Web application error. CGI variable "map" fails to validate.

When I try access demo example-1

I believe I need to add this statement to my http.conf file

SetEnv MS_MAP_PATTERN "^\/opt\/mapserver\/([^\.][_A-Za-z0-9\-\.]+\/{1})*([_A-Za-z0-9\-\.]+\.(map))$"


Maybe I have not looked hard enough but cannot find a /opt/mapserver/ directory in my Homebrew install?

Does it natter where in the https.conf  you place this statement?


Anyone dealt with this?

Gettin so close I can almost see a map….:)

Thanks in advance.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20211118/26ee0451/attachment.htm>


More information about the MapServer-users mailing list