<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">
Hello,
<div class="FluidPluginCopy">I'm trying to shorten my mapfile url from https://www.****.eu/cgi-bin/mapserv?map=/DyskPlanetiler/MAPFILEs/Sentinel2Ukraine.map to </div>
<div class="FluidPluginCopy">https://www.****.eu/Sentinel2Ukraine.</div>
<div class="FluidPluginCopy"><br>
</div>
<div class="FluidPluginCopy">I'm doing it by writing</div>
<div class="FluidPluginCopy">RewriteEngine onRewriteRule Sentinel2Ukraine?(.*) /cgi-bin/mapserv?map=/DyskPlanetiler/MAPFILEs/Sentinel2Ukraine.map&$1</div>
<div class="FluidPluginCopy">into apache2.conf but there is no result (I do restart apach after each edition of apache2.conf). QGIS while connecting to WMS returns "Download of capabilities failed: Error transferring https://www.****.eu/Sentinel2Ukraine?SERVICE=WMS&REQUEST=GetCapabilities
 - server replied: Not Found"</div>
<div class="FluidPluginCopy"><br>
</div>
<div class="FluidPluginCopy">What am I doing wrong?</div>
<div class="FluidPluginCopy elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Best,</div>
Marcin
</body>
</html>