[MapServer-users] apache2 aliases: msCGILoadMap(): Web application error. CGI variable " map"
Marcin Niemyjski
mniemyjski at cloudferro.com
Tue Jan 10 06:36:34 PST 2023
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 "map" 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/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature> Book time to meet with me<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230110/21363cb2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-tmaag4mn.png
Type: image/png
Size: 528 bytes
Desc: Outlook-tmaag4mn.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230110/21363cb2/attachment.png>
More information about the MapServer-users
mailing list