The Tcl-Httpd is a pure Tcl implementation of a Web server (HTTP/1.0). It runs as a Tcl script on top of Tcl 7.5 or later releases. While this server works fine as a stand alone web server, the intent is to embed the server in other applications in order to "web enable" them. A Tcl-based web server is ideal for embedding because Tcl was designed from the start to support embedding into other applications. The interpreted nature of Tcl allows dynamic reconfiguration of the server. Once the core interface between the web server and the hosting application is defined, it is possible to manage the web server, upload Safe-Tcl control scripts, download logging information, and otherwise debug the Tcl part of the application without restarting the hosting application.
The white paper presents a case for an embedded web server from more of a business angle. These pages document the technical specifications of the server.
The server is distributed under a copyright that allows free use.
A Tcl Httpd Book Chapter from the (future) 3rd Edition of Practical Programming in Tcl and Tk by Brent Welch.
The local Server Reference Page. Frankly, these reference pages are somewhat out-of-date. The book chapter is more coherent, but may lack some details presented in the reference pages. The source code is the truth!
Please Register Your Software so we can see how widely used the server is. Registration also gives you the opportunity to join the tcl-httpd@scriptics.com mailing list.