File: INSTALL.html

package info (click to toggle)
libapache-mod-dtcl 0.7.3-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 404 kB
  • ctags: 300
  • sloc: tcl: 1,266; ansic: 1,164; lisp: 563; makefile: 94; sh: 91
file content (122 lines) | stat: -rw-r--r-- 2,894 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">

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

<html>
  <head>	
    <title>How to install and configure mod_dtcl</title>
  </head>
  <body bgcolor=#ffffff>
      
      <h2>INSTALL: </h2>
      <p>
	<a
	   href="http://www.debian.org/Packages/unstable/web/libapache-mod-dtcl.html">
	  Get the .deb</a> (Debian package). 
      </p>

      For those of you not fortunate enough to have <a
						       href="http://www.debian.org">Debian GNU/Linux</a> systems:
      <ul>
	<li>Download the sources from
	  <a
	     href="http://master.debian.org/~davidw/mod_dtcl/">http://master.debian.org/~davidw/mod_dtcl/</a>
	  , and unzip them in src/modules
	</li>
	<li>
	  Run 
	  <code>
	    ./configure
	    --add-module=src/modules/mod_dtcl/mod_dtcl.c 
	  </code>
	  from the top level of your Apache source distribution.
	</li>
      </ul>	  
      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).
      <p>
	If you have problems:<br> 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).
      </p>
    </li>
    </ul>
      <b>CONFIGURATION:</b>

      <p>
	
	(http.conf)<br></br>
	<code>
	  <b>
	    LoadModule dtcl_module /usr/lib/apache/1.3/mod_dtcl.so
	  </b>
	</code>
	(or whatever dir you use.)<br> Note that you do not need this
	if you are compiling mod_dtcl statically.

      </p>
      <p>
	(srm.conf)<br></br>
	<code><b>AddType application/x-httpd-tcl .ttml</b></code>
      </p>

      (optional in srm.conf)<br>
      <p>	
	<code>
	  <b>
	    Dtcl_GlobalScript name-of-script.tcl<br>
	  </b>
	</code>
	
	Tcl script that is loaded when each interpreter is
	initialized. Consider putting <a href="dtcl-tcl.html">dtcl.tcl</a> here.<br>
      </p>
      <p>
	<code>
	  <b>
	    Dtcl_CacheSize size-of-cache
	  </b>
	</code>
	<br>
	Number of ttml scripts to cache as Tcl Objects.
      </p>
      <p>
	<code>
	  <b>
	    Dtcl_ChildInitScript name-of-script.tcl
	  </b>
	</code>
	<br>
	Script to be called when each apache child is initialized.
	This is the best place to load modules.
      </p>
      <p>
	<code>
	  <b>
	    Dtcl_ChildExitScript name-of-script.tcl
	  </b>
	</code>
	<br>
	Script to be called when each apache child exits.
      </p>


    </p>

      <p>
	Note that, as of Apache 1.3.4, all these configuration options
	will go in one file - httpd.conf.
      </p>
      <i>
	mod_dtcl is Copyright <a href="http://www.efn.org/~davidw/">David Welton</a> 1998<br></br>
	$Id: INSTALL.html,v 1.9 1999/10/18 14:29:01 davidw Exp $
      </i>
      <p>
	<a href="index.html">Return to the mod_dtcl homepage</a>
      </p>
      
  </body>
</html>