LanBox demo page
 
Demo | Examples 1 | Examples 2 | Documentation

  

You can connect with LCedit+, via the internet, to demo.lanbox.com (see tutorial), but now we also have a LanBox CGI, so you can control a LanBox from web pages!

Web server requirements:
Access rights to install a CGI, any recent perl, with HTML::Parser installed. Download the lanbox-cgi-scripts zip file from our site.

Installation on a OS X machine (10.4 or later):
You must have administrator privileges. Unpack the zip file, and locate the WebServer folder in the Library folder (the one in the top level of your hard disk, not the one in your home dir nor the one in "System"). Now transfer from the lanbox-cgi-scripts folder the "LanBox-CGI Templates" folder into /Library/WebServer/, the lanbox CGI into /Library/WebServer/CGI-Executables/, and the index.html into /Library/WebServer/Documents/. Note that you must move all index.html.xx files away from the documents folder, else apache will not find your index.html file.

Installation on any other machine:
As above but keep in mind the lanbox CGI must be in the cgi-bin folder, and must have execute rights. Place the "LanBox-CGI Templates" folder outside the publicly accessable paths (since it may contain passwords and such). Because the lanbox CGI needs to locate the templates folder, a small modification must be made to it: open the lanbox CGI in a text editor, and near the top of the file, replace the default path of the templates folder ("/Library/WebServer/LanBox-CGI Templates/") by the actual path. Note that you can also rename this folder, as long as you modify the CGI appropriately.


Examples 1: Control a LanBox-LCX (demo.lanbox.com) via Ethernet TCP.

Examples 2: Control a LanBox-LCX (demo.midilite.com) via Ethernet TCP.