in reply to CGI on OpenBSD 5.6 httpd
Thanks for all the input. I fixed the typo on #!, renamed the file name, created cgi-bin dir under the chroot dir (and both have permission mode 755).
Re comment on "curl localhost/..", what I meant was "curl http://ip address/..".
Re slowcgi, according to the manpage, it actually is the implementation of fastcgi. :-)
I suspect there is something on httpd.conf that I am missing, but I copied it from the manpage.
prefork 2 server "default" { listen on egress port 80 } types { text/css css text/html htm html text/txt txt image/gif gif image/jpeg jpg jpeg image/png png application/javascript js application/xml xml }
All in all, I am still stuck.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI on OpenBSD 5.6 httpd
by Anonymous Monk on Jan 03, 2015 at 04:32 UTC | |
by slamet (Initiate) on Jan 18, 2015 at 10:33 UTC |