summaryrefslogtreecommitdiff
path: root/www/ap-aolserver/MESSAGE
blob: 565d4ee33b3d2e0df61703d2b7b9946ccbab149b (plain)
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
=============================================================================
$NetBSD: MESSAGE,v 1.1 2001/11/01 02:15:31 zuntum Exp $

You will need to edit ${PREFIX}/etc/httpd/httpd.conf and add the following
lines to the Dynamic Shared Object section in order to use this module:

LoadModule aolserver_module   lib/httpd/mod_aolserver.so
AddModule mod_aolserver.c

Also add, in any virtual hosts which will use mod_aolserver:

AolServerConf tcl_modules /usr/local/etc/httpd/tcl_modules
AolServerConf config_file /usr/local/etc/httpd/tcl_modules/nsd.tcl
AolServerConf log_file_location /var/log/httpd/error_log
AolServerConf lockfile /var/run/aolsrv_lock
AolServerConf nsv_shmem_file /var/run/aolsrv_shmem

And, for your DocumentRoot:

<Directory ${PREFIX}/share/httpd/htdocs>
    Options Indexes FollowSymLinks MultiViews ExecCGI
    DirectoryIndex index.tcl index.adp index.shtml index.html index.htm
    AddHandler adp adp
    AddHandler aolserver tcl
</Directory>

Also see the sample config files in
${PREFIX}/share/examples/mod_aolserver.
=============================================================================