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@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.thom...@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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users