I’m trying to get bash shell scripts working from the web (not from the shell). I have:
echo 'Content-type: text/html\n\n’
echo ‘hello world\n’
I save this as test.cgi. When I navigate to this URL, I get an HTTP 500 (server) error. What am I doing wrong?