Home Contacts Terms Send money


www.acmesystems.it


We would like to inform our clients that our laboratory will not be closed over the Christmas period, however shipping will be suspended from dec 22 to jan 7. We would like to take this occasion to wish all our clients a Happy Festive season !
PLEASE NOTE: This article is obsolete or related to a discontinued 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 :

Troubleshooting

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 +39.06.99.12.187 - Fax +39.06.622.765.31
http://www.acmesystems.it
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. We not provide any direct support for the Open Source preinstalled software but, 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 boards. Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source so you have to check the license terms provided by the authors (usually the GPL) before using it in any commercial or non-commercial product, by yourself. Before to contact us please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS and therefore could be better to post your questions to the Acme Systems forum and ensure that all of the site contributors and large software community can read and reply to your questions.

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