If you run the script: /cgi-bin/file.py then it is launched, and if without anything, i.e. the cgi-bin root itself: / cgi-bin / then produces error 403.

Theoretically, the list of files in the cgi-bin directory should be displayed.

Should it be like that? Why it happens? Why doesn't index.html automatically start via cgi-bin?

    1 answer 1

    Because the listing of the / cgi-bin / directory is prohibited in the web server settings. - KO