kojak CGI - harperreed/audreyhacking GitHub Wiki
/kojak/CGI is the location for the executable files called by the Voyager server. All of the files here can be called using URLs beginning with "http://localhost/cgi-bin/".
To actually make use of these programs, a new shtml file in /data/XML/. For example, create "led.shtml" containing:
<title>LED</title>
Then access it with the following URLs to change the LED state:
-
[http://localhost/led.shtml?0] — Turn the LED off
-
[http://localhost/led.shtml?1] — Blink the LED
-
[http://localhost/led.shtml?2] — Turn the LED on ==Contents==