in reply to CGI on OpenBSD 5.6 httpd
Are you sure that curl localhost/hello will contact your http server?
I would try curl http://localhost/hello.
Still, your webserver does not seem to be set up to treat hello as a CGI file. Maybe naming the file hello.cgi would help, if the webserver by default is set up to treat executable files named .cgi as programs producing output.
|
|---|