<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 elementToProof">Hello,</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 elementToProof"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">I'm using camptocamp mapserver docker image. I want to create Aliases
so I can access several mapfiles using their file names, <br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">example: www.service.pl/WMSNo1 instead of
<span style="font-size:12pt;background-color:rgb(255, 255, 255)" class="ContentPasted0 FluidPluginCopy ContentPasted2">
<a href="http://www.service.pl/" data-loopstyle="link" id="LPlnk783341">www.service.pl</a></span>?map=/etc/mapserver/WMSNo1.map.
<br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">Could you please provide me an example of how to edit /etc/apache2/apache2.conf
to make it work? <br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">On regular Mapserver I'm using this as alias and it works just fine:</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 ContentPasted1">Alias /Sentinel2Ukraine "/usr/lib/cgi-bin/mapserv"
<div class="FluidPluginCopy ContentPasted1"><Location /Sentinel2Ukraine ></div>
<div class="FluidPluginCopy ContentPasted1"> SetHandler cgi-script</div>
<div class="FluidPluginCopy ContentPasted1"> Options ExecCGI</div>
<div class="FluidPluginCopy ContentPasted1"> SetEnv MS_MAPFILE "/DyskPlanetiler/MAPFILEs/automatyzacja/Sentinel2Ukraine.map"</div>
</Location><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 ContentPasted1"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 ContentPasted1">On camptocamp I created somthing similiar to code
above:</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 ContentPasted1"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 ContentPasted1 ContentPasted3">Alias /Sentinel2Ukraine "/usr/local/bin/mapserv"
<div class="FluidPluginCopy ContentPasted3"><Location /Sentinel2Ukraine ></div>
<div class="FluidPluginCopy ContentPasted3"> SetHandler cgi-script</div>
<div class="FluidPluginCopy ContentPasted3"> Options ExecCGI</div>
<div class="FluidPluginCopy ContentPasted3"> SetEnv MS_MAPFILE "/etc/mapserver/Sentinel2Ukraine.map"</div>
<div class="FluidPluginCopy ContentPasted3"></Location></div>
<div class="FluidPluginCopy"><br class="ContentPasted3">
</div>
<div class="FluidPluginCopy ContentPasted3">Alias /Sentinel2Poland "/usr/local/bin/mapserv"</div>
<div class="FluidPluginCopy ContentPasted3"><Location /Sentinel2Poland ></div>
<div class="FluidPluginCopy ContentPasted3"> SetHandler cgi-script</div>
<div class="FluidPluginCopy ContentPasted3"> Options ExecCGI</div>
<div class="FluidPluginCopy ContentPasted3"> SetEnv MS_MAPFILE "/etc/mapserver/Sentinel-2-PL.map"</div>
</Location><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 ContentPasted1 ContentPasted3"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 ContentPasted1 ContentPasted3">Best,</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0 ContentPasted1 ContentPasted3">Marcin<br>
</span></div>
<div class="elementToProof">
<div id="Signature">
<div>
<table style="margin-top:30px;margin-bottom:30px;width:95%" id="tableSelected0">
<tbody>
<tr height="45">
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
<table id="pbpsiglinktable">
<tbody>
<tr>
<td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><img data-outlook-trace="F:1|T:1" src="cid:82461a60-acc1-4e39-b8ee-5bb3f8c6119c"></a></td>
<td></td>
<td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature" style="text-decoration: none; color: #0078d4;">Book time to meet with me</a></td>
<td>
<table>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>