[Starkit] Re: starpack as cgi

David Welton davidnwelton at gmail.com
Wed Jun 22 15:48:34 CEST 2005


> This may no be applicable for you, but I general do starkit cgi as follows.
> 1. Stick a tclkit in my ~/public_html/cgi directory.
> 2. Add my starkit to ~/public_html/cgi directory.
> 3. Create a 3 line cgi shell script to launch my starkit.
> 
> > ls ~/public_html/cgi
> tclkit foo.cgi foo.kit bar.cgi bar.kit
> > cat ~/public_html/cgi/foo.cgi
> #!/bin/sh
> cd ~/public_html/cgi
> exec ./tclkit foo.kit

I made things work by creating a starpack 'protect' and then a
'protect.cgi' that is something like #!./protect

but the whole point of using starpacks is that the client, who in this
case is not a very technical user, just downloads one and only one
file.

-- 
David N. Welton
 - http://www.dedasys.com/davidw/

Apache, Linux, Tcl Consulting
 - http://www.dedasys.com/


More information about the Starkit mailing list