Users on Windows NT can run tclhttpd as an NT service
by using 'tclsvc'. The code lives
http://www.sensus.org/tcl/tclsvc.htm
and I have a pre-built version at
http://localhost:8015/programming/tclsvc11.zip
which includes the patch mentioned on the wiki
(http://wiki.tcl.tk/1797).
The only change needed to the tclhttpd code to support
this is the attached patch. To summarize, tclsvc needs
to be in control of the event loop.
With this in place, a user can rename tclsvc.exe to
tclhttpd.exe. Run tclhttpd.exe -install, edit the
registry key to give the patch to httpd.tcl and can
then use the normal NT services control panel to start
and stop tclhttpd.
Tclsvc is also part of the ActiveState Tcl developer kit.
Patch httpd.tcl for tclsvc support.