Quick and dirty web server

Andrew Sinclair andrews at elprotech.com
Tue Jan 4 06:14:15 UTC 2005


I have found GoAhead pretty straight forward, with good help and examples. 
I recommend going to the GoAhead webpage and downloading the latest source, 
as it contains all the examples and help you could hope for. Their 
newsgroup is pretty handy for any questions you may have too, with fairly 
quick responses. GoAhead features password protection of webpages, which 
can also be useful. Later versions include digest authentication which 
provides more robust password authentication.

If your heart isn't set on a webpage, and you just want something network 
based, you could write a code that allows socket connections to your 
device. Then write a simple command interpreter to do what you want. That 
way you could use a program like Telnet to connect to your device, and do 
some basic commands etc. There is a telnet server example in rtems source 
distribution. If you wanted to make it more aesthetic, write a PC based 
network program that basically does the job of telnet. Having said all t  
his, I think it would be almost as much effort as using GoAhead.

Kind Regards

Andrew Sinclair
-----Original Message-----
From:	Chris Johns [SMTP:chrisj at rtems.org]
Sent:	Tuesday, 4 January 2005 2:34 PM
To:	Paul Whitfield
Cc:	rtems-users
Subject:	Re: Quick and dirty web server

Paul Whitfield wrote:
>
> I was wondering if there exists a "quick and dirty" web server for
> rtems.
>
> Basically we are in the design phase of a product, and we are thinking
> about providing a configuration interface via a very simple web page.
>
> Has anyone done something similar to this before?
>
> I am aware of the go-ahead web server, but that really seams like
> over kill for a simple static web page that will basically
> allow a user to enter a few values and maybe display a logo!
>

I have found the GoAhead web server not hard to use. The ability to add
ASP functions and variables is a simple coding task and the results are
nice. For the pages I create a tar file and untar it into the IMFS.

--
  Chris Johns



More information about the users mailing list