Httpd, cgi shell scripts not working
Leonid Lisovskiy
lly.dev at gmail.com
Fri Sep 18 16:30:40 UTC 2009
>I'm having a problem getting httpd to run shell scripts - they just return
>empty screens.
Answer is simple - you have to read documentation first ;-)
Since some version, busybox's httpd expects that you are responsible
for generating HTTP headers inside shell script. I.e. you have to do
like this:
echo "HTTP/1.0 200 OK
Content-type: image/png
Connection: close
"
Regards,
Leonid
More information about the busybox
mailing list