Well, first of all, you have to have a web server on your Cloverleaf box. There may be some way to do it with a separate web server, but I couldn’t tell you how to do it.
I could not for the life of me figure out how to get tcl to act as the server-side scripting of the web server, so as a work around I am calling .cgi scripts from the web page, then tcl from the cgi. Does that make sense? That’s how we’re doing it.
I use a combination of msi, hciconnstatus, hcicmd, and probably some others to do everything we’re doing. We have also implemented a “port tracker” into the web page that let’s us see what ports are on what threads, it’ll get the next available port, stuff like that.
If I had the time, I would really like to do a redesign – I think I could do better, but then again, there are lots of things I wish I had time to do.