Skip to content Skip to sidebar Skip to footer

Raspberry Pi Python Shebang With Cgi Server

I am trying to run a local CGI server on my raspberry pi to host a webpage with a single link, that link is to a CGI script which is supposed to trigger another script and then pri

Solution 1:

Try to remove windows line endings in the script. This made it work for me.

E.g. see How to convert Windows end of line in Unix end of line (CR/LF to LF)

For more possible causes of this problem have look at my answer here https://stackoverflow.com/a/65249192/1150303

Post a Comment for "Raspberry Pi Python Shebang With Cgi Server"