The WebTk HTTP Daemon (tclhttpd)

What is tclhttpd?
An HTTP Daemon is a server for Web requests. tclhttpd
is one we wrote entirely in Tcl.
The server is fast because it relies on event-driven I/O that is implemented
in the Tcl runtime library, which is compiled C code. It also caches
URL to file name lookups and plays a few other tricks to execute as
few Tcl commands as possible in order to respond to an HTTP request
from a web client.
Features
- CGI - standard CGI interface.
- Image Map - built in image map hit detection speeds access to imagemaps.
- SafeTcl - As an alternative to CGI, you can have the server process
a page using Safe-Tcl. This is fast because it avoids creating a process
for each request. This is safe because Safe-Tcl ensures the extension
cannot compromise the server process.
- Server side includes. These are a gross hack that we reluctantly
support.
- GUI - a simple graphical user interface lets you monitor the servers
activity. This is optional.
Download it
This is a tar
file of the Tcl sources. In addition, you need Tcl 7.5 and Tk
4.1 (or higher). Tk is not necessary. The program will work with
either tclsh7.5 or wish4.1.