Please also be aware of the official CONFIG file documentation at
https://mapserver.org/mapfile/config.html
Thanks,
-jeff
--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/
On 2022-08-19 4:19 a.m., Liva Vågane wrote:
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.thom...@wheregroup.com <mailto:joerg.thom...@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
<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
<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
<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@lists.osgeo.org
<mailto:MapServer-users@lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
<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 <http://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.thom...@wheregroup.com <mailto:joerg.thom...@wheregroup.com>
www.wheregroup.com <http://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 <http://twitter.com/WhereGroup_com>
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org <mailto:MapServer-users@lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapserver-users
<https://lists.osgeo.org/mailman/listinfo/mapserver-users>
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users