<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Thank you!</div><div class="gmail_default" style="font-size:small">Moving the aliases to the ms4w.conf-file did solve my problem!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Liva</div></div><div dir="ltr"><div style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">fre. 19. aug. 2022 kl. 08:51 skrev Jörg Thomsen (WhereGroup) <<a href="mailto:joerg.thomsen@wheregroup.com" target="_blank">joerg.thomsen@wheregroup.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
why don't you use the variables in the config-file? very easy to use, no <br>
restart of apache needed.<br>
<br>
<a href="https://mapserver.org/development/rfc/ms-rfc-135.html" rel="noreferrer" target="_blank">https://mapserver.org/development/rfc/ms-rfc-135.html</a><br>
<br>
   MAPS<br>
     MAP1 "/opt/mapserver/myapp/map1.map"<br>
     MAP2 "/opt/mapserver/myapp/map2.map"<br>
   END<br>
<br>
Jörg<br>
<br>
<br>
<br>
<br>
Am 18.08.22 um 18:03 schrieb Liva Vågane:<br>
> Hello,<br>
> <br>
> __<br>
> <br>
> Can anyone confirm that specifying the location of mapfiles using an <br>
> Apache variable <br>
> <<a href="https://mapserver.org/cgi/controls.html?#specifying-the-location-of-mapfiles-using-an-apache-variable" rel="noreferrer" target="_blank">https://mapserver.org/cgi/controls.html?#specifying-the-location-of-mapfiles-using-an-apache-variable</a>> is <br>
> working in Mapserver 8/ms4w5.0.0?____<br>
> <br>
> I can't get it to work with ms4w version 5.0.0-beta2, as I have with <br>
> ms4w 4.0.5____<br>
> <br>
> This variant <br>
> <<a href="https://mapserver.org/ogc/wms_server.html#apache-setenvif" rel="noreferrer" target="_blank">https://mapserver.org/ogc/wms_server.html#apache-setenvif</a>> could be an <br>
> alternative, but I would prefer not to generate a copy of mapserv.exe <br>
> for every .map-file.____<br>
> <br>
> __ __<br>
> <br>
> Thank you for your help!____<br>
> <br>
> __ __<br>
> <br>
> Sincerely,____<br>
> <br>
> Liva Vågane<br>
> <br>
> <br>
> _______________________________________________<br>
> MapServer-users mailing list<br>
> <a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
<br>
-- <br>
Viele Grüße,<br>
Jörg Thomsen<br>
<br>
---------------------------------------------<br>
Aufwind durch Wissen!<br>
Jetzt neu: Web-Seminare und Online-Schulungen<br>
bei der <a href="http://www.foss-academy.com" rel="noreferrer" target="_blank">www.foss-academy.com</a><br>
---------------------------------------------<br>
<br>
Jörg Thomsen<br>
WhereGroup GmbH<br>
Bundesallee 23<br>
10717 Berlin<br>
Germany<br>
<br>
Tel: +49 (0)30 / 5130 278 74<br>
Fax: +49 (0)30 / 5130 278 11    <br>
<br>
<a href="mailto:joerg.thomsen@wheregroup.com" target="_blank">joerg.thomsen@wheregroup.com</a><br>
<a href="http://www.wheregroup.com" rel="noreferrer" target="_blank">www.wheregroup.com</a><br>
<br>
Geschäftsführer:<br>
Olaf Knopp, Peter Stamm<br>
Amtsgericht Bonn, HRB 9885<br>
<br>
-------------------------------<br>
Folgen Sie der WhereGroup auf twitter: <a href="http://twitter.com/WhereGroup_com" rel="noreferrer" target="_blank">http://twitter.com/WhereGroup_com</a><br>
_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div>
</div>