Hello,

I'm trying to create Apache aliases by editing /etc/apache2/apache2.conf as 
below:

Alias /Sentinel2Ukraine "/usr/local/bin/mapserv"
<Location /Sentinel2Ukraine >
        SetHandler fcgi-script (I have also tried with cgi-script)
        Options ExecCGI
        SetEnv MS_MAPFILE "/etc/mapserver/Sentinel2Ukraine.map"
        Require all granted
</Location>

Then reload apache2. Following logs are recived:

msCGILoadMap(): Web application error. CGI variable &quot;map&quot; is not set
and
https://pastecode.io/s/gkw8n24k

My mapfile:
https://pastecode.io/s/z75n6qo7

I would be grateful for any advice,
Marcin




[cid:2691e855-4eb1-4130-ba8b-c5bf19bfd113]<https://outlook.office.com/bookwithme/user/[email protected]?anonymous&ep=signature>
           Book time to meet with 
me<https://outlook.office.com/bookwithme/user/[email protected]?anonymous&ep=signature>
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to