This seems a general CGI scripting error, nothing to do with MapServer.

In general for CGI script to run make sure:
- a script handler for the script is installed I your server. eg for Python on 
Apache,:
Options +ExecCGI
AddHandler cgi-script .py
<FilesMatch "\.(py)$">
  Require all granted
</FilesMatch>

- the script has execute permission (eg in Linux do:  chmod 755 script.py)
- there are no script syntax errors (eg in Python run it locally first to test).

--
Barend Köbben


From: MapServer-users <mapserver-users-boun...@lists.osgeo.org> on behalf of 
Boubacar Bah <bahbouba....@gmail.com>
Date: Monday, 13 September 2021 at 16:40
To: "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org>
Subject: [mapserver-users] Asking help

Hello everyone l try to launch a script CGI  in mapserver but it return an 
error when I put my CGI into cgi-bin folder:
the server  encounter an internal error or misconfiguration and was unable to 
complete yours request
Or if l put. My script file into apps folder the server returned a error like 
that
Forbidden you don't have a permission To access this ressources.
I don't know how to fix this problems if someone can help me
Thanks
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to