[mapserver-users] MAP Query Parameter

Patrick Young patrick.mckendree.young at gmail.com
Tue Aug 17 15:37:30 PDT 2021


Hello!

I've been working through the mapserver tutorial where my setup is fastcgi
using nginx + supervisor running the mapserv process, and the two are
talking via a unix socket.

I had been banging my head on a 502 error but finally figured it out when I
set the map= query parameter to the full, absolute path of the mapfile I
was trying to use.

In the docs (https://mapserver.org/cgi/controls.html) it mentions

> MAP [filename] Path, relative to the CGI directory, of the map file to be
used.

I am curious though, what is the "CGI directory" when you're running under
fastcgi?

Thanks!
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210817/49b4ff99/attachment.html>


More information about the mapserver-users mailing list