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 agoHi schaney,
> nope. It can't recognize echo. Any idea why the script wouldn't work? This sounds weird ... I ran the following script without any problems:#!/bin/sh
echo "Content-type:text/html\n\n"
echo "The cgi script is working\n" Here are a few things to check: 1. Try the following command: $ echo $PATH If this doesn't work ... you're probably missing 'echo'. 2. Check your PATH environment If the PATH env var doesn't include the directory where echo actually is, you'll either need to add the full path to your script, or setup PATH in your /etc/rc file. Or from the command line: $ export PATH=$PATH:<path to echo> Then try running the script again. Regards, --Scott