Re: [tkined] getting http bind correctly set?

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 19 May 1998 10:34:53 +0200

>>>>> Bill Harris writes:

Bill> I'm trying out the "http bind" call, and having some problems.
Bill> The bind is being made, and the server is created and answers,
Bill> but I'm getting nothing out of it.

Bill> http server 4000 http bind /foo get { puts "help" return
Bill> /home/billh/host-monitor/junk.html }

Bill> I'm trying to get it to return something to the browser or to
Bill> the tcl session with the server defined. Nothing, it connects,
Bill> receives the request and doesn't do anything.

Bill> I'd actually like the called script to pass back HTML to the
Bill> client, rather than a page location. So the called procedure
Bill> can then generate all of the html for the client out of the
Bill> running script.

Bill> Can this be done?

You should use the tcl httpd provided by the Tcl core group instead of
the scotty http code. The scotty http code has already been removed
from never releases. See the resource center at www.scriptics.com for
more information about the tcl httpd code.
Juergen

Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3283)

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.