[MapServer-users] Hiding path to .map-files with Mapserver 8/ms4w5.0.0

Richard Greenwood richard.greenwood at gmail.com
Thu Aug 18 09:31:20 PDT 2022


I just tried quickly on Linux and an Apache alias to a map file did not
work. I'd suggest that you move your Apache aliases out of your apache.cong
and into the MAP section of the new mapserver.conf file. They will then
work in 8.0 like they did in previous mapserver vversions.


On Thu, Aug 18, 2022 at 10:04 AM Liva Vågane <liva.vagane at gmail.com> wrote:

> Hello,
>
> Can anyone confirm that specifying the location of mapfiles using an
> Apache variable
> <https://mapserver.org/cgi/controls.html?#specifying-the-location-of-mapfiles-using-an-apache-variable> is
> working in Mapserver 8/ms4w5.0.0?
>
> I can't get it to work with ms4w version 5.0.0-beta2, as I have with ms4w
> 4.0.5
>
> This variant <https://mapserver.org/ogc/wms_server.html#apache-setenvif> could
> be an alternative, but I would prefer not to generate a copy of mapserv.exe
> for every .map-file.
>
>
>
> Thank you for your help!
>
>
>
> Sincerely,
>
> Liva Vågane
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>


-- 
Richard W. Greenwood
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220818/623c8295/attachment.htm>


More information about the MapServer-users mailing list