The TclHttpd Distribution
Get the TclHttpd distribution from the CD-ROM, or find it on the Internet at:
Quick Start
Unpack the tar file or the zip file, and you can run the server from the httpd.tcl script in the bin directory. On UNIX:
tclsh httpd.tcl -port 80
This command will start the Web server on the standard port (80). By default it uses port 8015 instead. If you run it with the -help flag, it will tell you what command line options are available. If you use wish instead of tclsh, then a simple Tk user interface is displayed that shows how many hits the server is getting.
On Windows you can double-click the httpd.tcl script to start the server. It will use wish ...
Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.