INSTALL:

Get the .deb (Debian package).

For those of you not fortunate enough to have Debian GNU/Linux systems: This results in a static httpd with mod_dtcl built in. It's also possible to build mod_dtcl as a DSO (dynamic shared object).

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).

CONFIGURATION:

(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

(optional in srm.conf)

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

$Id: INSTALL.html,v 1.9 1999/10/18 14:29:01 davidw Exp $

Return to the mod_dtcl homepage