Get the .deb (Debian package).
For those of you not fortunate enough to have Debian GNU/Linux systems:
./configure
--add-module=src/modules/mod_dtcl/mod_dtcl.c
from the top level of your Apache source distribution.
If you have problems:
Check in mod_dtcl.c, and see if it
points at the right Tcl header file, tcl.h. If you aren't
able to figure out the problem, send mail to the mailing list
(and ask to be CC'ed in the response if you are not
subscribed).
(http.conf)
LoadModule dtcl_module /usr/lib/apache/1.3/mod_dtcl.so
(or whatever dir you use.)
Note that you do not need this
if you are compiling mod_dtcl statically.
(srm.conf)
AddType application/x-httpd-tcl .ttml
Dtcl_GlobalScript name-of-script.tcl
Tcl script that is loaded when each interpreter is
initialized. Consider putting dtcl.tcl here.
Dtcl_CacheSize size-of-cache
Number of ttml scripts to cache as Tcl Objects.
Dtcl_ChildInitScript name-of-script.tcl
Script to be called when each apache child is initialized.
This is the best place to load modules.
Dtcl_ChildExitScript name-of-script.tcl
Script to be called when each apache child exits.
Note that, as of Apache 1.3.4, all these configuration options will go in one file - httpd.conf.
mod_dtcl is Copyright David Welton 1998