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

Liva Vågane liva.vagane at gmail.com
Fri Aug 19 00:19:09 PDT 2022


Thank you!
Moving the aliases to the ms4w.conf-file did solve my problem!

Liva


fre. 19. aug. 2022 kl. 08:51 skrev Jörg Thomsen (WhereGroup) <
joerg.thomsen at wheregroup.com>:

> Hi,
>
> why don't you use the variables in the config-file? very easy to use, no
> restart of apache needed.
>
> https://mapserver.org/development/rfc/ms-rfc-135.html
>
>    MAPS
>      MAP1 "/opt/mapserver/myapp/map1.map"
>      MAP2 "/opt/mapserver/myapp/map2.map"
>    END
>
> Jörg
>
>
>
>
> Am 18.08.22 um 18:03 schrieb Liva Vågane:
> > 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
>
>
> --
> Viele Grüße,
> Jörg Thomsen
>
> ---------------------------------------------
> Aufwind durch Wissen!
> Jetzt neu: Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com
> ---------------------------------------------
>
> Jörg Thomsen
> WhereGroup GmbH
> Bundesallee 23
> 10717 Berlin
> Germany
>
> Tel: +49 (0)30 / 5130 278 74
> Fax: +49 (0)30 / 5130 278 11
>
> joerg.thomsen at wheregroup.com
> www.wheregroup.com
>
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
>
> -------------------------------
> Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220819/c5b6b473/attachment.htm>


More information about the MapServer-users mailing list