mod_dtcl Documentation

1) Installation

  1. Check dependencies
    To install mod_dtcl, you will need Tcl 8.2 or greater and Apache 1.3.xx. It is known to run on Linux, FreeBSD, OpenBSD, and Solaris and HPUX. NT is also possible - please see the directions in the distribution.
  2. Get mod_dtcl
    If you are running a Debian or FreeBSD system, there are pre-built packages available at: http://www.debian.org/Packages/unstable/web/libapache-mod-dtcl.html or http://www.freebsd.org/ports/www.html#mod_dtcl-0.8.1.1.
    Otherwise, download the sources at http://tcl.apache.org/mod_dtcl/download/.
  3. Uncompress the sources
    gunzip apache-1.3.X.tar.gz
    tar -xvf apache-1.3.X.tar.gz
    You don't need the Apache sources if you are building a shared object module. gunzip mod_dtcl-X.X.X.tar.gz
    tar -xvf mod_dtcl-X.X.X.tar.gz
  4. Configure, Edit builddtcl.sh and Make
    cd apache-1.3.X/
    ./configure

    cd ../mod_dtcl/
    Now edit the builddtcl.sh script. The 3 variables you may need to change are: ./builddtcl.sh static (shared in place of static if you are building a shared object module
    ./builddtcl.sh install (Not necessary if it is a shared object build)
    cd ../apache-1.3.X
    ./configure --activate-module=src/modules/mod_dtcl/mod_dtcl.a [ other configure options ]
    export EXTRA_LIBS="-ltcl8.X -lm"
    make -e
    make install
  5. Configure Apache

2) Apache Directives

3) mod_dtcl specific Tcl commands

4) Internals