Home About us Send money Contacts Terms


Please note:This article is obsolete or related to an obsolete product.

Setting up BOA to accept CGI

written by the John Crispin

If you want to access custom html pages on your FOX Board, you simply put them in /etc/httpd/html/ directory and accesso to it from this URL:

However, if you want to use CGI, you need to create a new CGI folder.

To do this, you need to :


403 Forbidden

"Your client does not have permission to get URL /cgi/helloworld.sh from this server"

If you obtain this message probably the helloworld.sh script is not executable. Use this command:

# chmod +x helloworld.sh

502 Bad Gateway

"The CGI was not CGI/1.1 compliant"

If you obtain this message probably you have used a "DOS like" editor like Notepad to edit the helloworld.sh script file. This add a CR/LF sequence at the end of each lines instead of a single LF. If you are using UltraEdit or any other good editor probably you can choose to save the file in Unix format elsewhere use these commands to strip the CR chars:

# cat helloworld.sh | tr -d '\r' > helloworld1.sh
# cp helloworld1.sh helloworld.sh

Acme Systems srl
Via Aldo Moro 53 - 00055 Ladispoli (RM) - Italy
P.IVA/C.F. 08114831004
Tel + - Fax +39.06.622.765.31
Iscritta al Registro delle Imprese di Roma al n. 08114831004

Atmel© Certified Partner

Documentation Terms of Use
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. The maintainer of this site (Sergio Tanzilli), has gone to a great deal of effort into making this documentation as correct as possible. Acme Systems does not provide any direct support for the Open Source preinstalled software but does provide, through these pages and forum posts, all of the information required to obtain the sources, install, use and update the Open Source software that can be run on the Acme platforms. Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source and you will need to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial product, by yourself. Before sending emails or calling the Acme staff please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS and therefore ask that you post your questions directly to the forum listed below and ensure that all of the site contributors and large software community will read and reply to your questions.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License