Forum Discussion
Altera_Forum
Honored Contributor
21 years agoBOA CGI problem hasn't been fixed
This days i try to complete the CGI function in the uClinux BOA of my 1s10 board,but no results. And wanna achieve the ledcontrol (http://www.niosforum.com/forum/index.php?act=st&f=18&t=2185) via ...
Altera_Forum
Honored Contributor
21 years agoIf you were trying to use the shell script that I posted, there may be an error in it.
I inadvertently added some comments before the "#! /bin/sh" and I think that may affect whether or not Linux will run the script through the shell interpreter or treat it as a full blown executable. The correct script should be:#! /bin/sh
# # cgi-bin/test.cgi#
echo "Content-type: text/html\n\n"
echo
echo "The cgi script is working\n"