[MapServer-users] Mapserver Apache2 Rewrite not working
Marcin Niemyjski
mniemyjski at cloudferro.com
Fri Dec 23 04:38:44 PST 2022
Hello,
I'm trying to shorten my mapfile url from https://www.****.eu/cgi-bin/mapserv?map=/DyskPlanetiler/MAPFILEs/Sentinel2Ukraine.map to
https://www.****.eu/Sentinel2Ukraine.
I'm doing it by writing
RewriteEngine onRewriteRule Sentinel2Ukraine?(.*) /cgi-bin/mapserv?map=/DyskPlanetiler/MAPFILEs/Sentinel2Ukraine.map&$1
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"
What am I doing wrong?
Best,
Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20221223/5a4ef1fb/attachment.htm>
More information about the MapServer-users
mailing list