[MapServer-users] Is there a way to set the document root for .map files?
Rob Dennett
Rob.Dennett at twdb.texas.gov
Thu Mar 20 08:22:07 PDT 2025
Is there a way to set a sort of document root for .map files and other files .map files might reference? For example, my .map files are found at the root of an S3 bucket and we're trying to use an EFS volume instead. Our URLs currently look like
https://www.ourOrg.com/cgi-bin/mapserv/?map=/foo.map&...
Where foo.map lives in the root of the s3 bucket. With the new system we want, it will live at the root of the EFS volume, but with that volume mounted in a different directory in the docker container where MapServer runs, e.g. /ourOrg_mapserver. The file system in the container is
/ourOrg_mapserver/foo.map
There are many existing URLs in our client apps as well as 3rd party customer apps which use the above URL. Is there a way to set up mapserver so that /ourOrg_mapserver acts like an Apache document root so that existing stuff won't need to change?
Thanks,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20250320/cdb6aa9b/attachment.htm>
More information about the MapServer-users
mailing list