Forum Discussion
Altera_Forum
Honored Contributor
20 years agoAFAIK, the webserver in busybox needs to be run in a directory with cgi-bin in the path. As for the boa configuration, I'm not certain. I am sure it is documented properly.
This si what in my nios2 configuration (running C programs):Port 80
User root
Group root
ServerName www.board.com
DocumentRoot /home/webserver/
DirectoryIndex index.html
KeepAliveMax 1000
KeepAliveTimeout 10
MimeTypes /etc/mime.types
DefaultType text/plain
CGIPath /bin:/usr/bin:/usr/local/bin
ScriptAlias /cgi-bin/ /home/webserver/cgi-bin/ Check that /bin/ is in your CGIPath. I don't think that boa requires a certain extension to be a valid cgi script.