Home Contacts Terms Send money


www.acmesystems.it

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

WEB access

The FOX Board has by default a preinstalled BOA Web server. This article explains how to configure it and how to write your own web pages

If your PC is already connected on the same LAN of the FOX board simply click on the following URL:

The default home page is located on /usr/html/index.html. This file is saved into a read only folder so you cannot change its contents. To change the default home page or add new ones you have to use the read/write folder /usr/html/local.

Try to edit the default home page from your web browser using editcgi.cgi. This is a cgi located in /usr/html/admin-bin useful to edit ASCII files saved in the FOX Board filesystem directly from the web. To edit index.html use this link:

Delete the previous html code and write something like "Hello World !", then change the contents in the Save as field in /usr/html/local/index.html and press Save file button.

Now show your new web page using this URL http://192.168.0.90/local .


Fig 1 - The default home page of the FOX Board

Changing the default web server folder

The BOA configuration file is locate on /etc/httpd/conf/boa.conf.
You can edit it using this URL:

The DocumentRoot parameter defines the public folder used by the web server for the web pages.
Change this line:

DocumentRoot /usr/html

in

DocumentRoot /usr/html/local

then save and restart the BOA server from a Telnet console with the command:

# /etc/init.d/httpd restart

Try now the default web page:

Set the web folder on a USB memory key

The memory available on the FOX Board to put web contents could be not enought in most cases. Define the DocumentRoot to /mnt/1 and read this article: USB memory key, to see how to mount an external USB memory key.

More info about BOA

In the official BOA web site (http://www.boa.org/) is it possible to found a lot of documentation about this small and fast webserver.

Special note for web application developers

It is available a special release of FOX Board for embedded web application named foXServe.
More info are available on:

Related link




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