## TKLite configuration file for Apache 1.3
##
## Include this by placing "include /etc/tklite.conf"
## at the end of the /etc/apache/httpd.conf file
##
## Uncomment or copy one or more portal entries like the following to activate
## a new portal.
##
## Notice: When installing a TKLite portal in a virtual host, there must be 
## a symlink from the "/virtual/host/document/root/tklite" to
## the "/global/document/root/tklite", otherwise the tkl-handler will not be 
## found.
##
## Warning: an Alias like "Alias /tklite /var/www/tklite" does not work, 
## since the Sablotron XSLT processer can not follow an Apache alias!
##
## Warning: do not make a symlink from one portal root to another, or the
## IDZebra indexing daemon will be started multiple times in one portal,
## which is definitly not a good thing to do!

## Run TKLite portal in a subdirectory - assuming DocumentRoot is "/var/www"
#<Directory /var/www/portal/path>
#   <IfModule mod_dir.c>
#       DirectoryIndex index.tkl
#   </IfModule>
#   <IfModule mod_mime.c>
#      AddHandler tkl-handler .tkl
#      Action tkl-handler /tklite/shell.php
#   </IfModule>
#</Directory>

## Run TKLite portal in a virtual host
## Remember "ln -s /var/www/tklite /var/www/virtual/portal/path"
#<VirtualHost www.virtual.host.name>
#   DocumentRoot /var/www/virtual/portal/path
#   <Directory /var/www/virtual/portal/path>
#      <IfModule mod_dir.c>
#          DirectoryIndex index.tkl
#      </IfModule>
#      <IfModule mod_mime.c>
#         AddHandler tkl-handler .tkl
#         Action tkl-handler /tklite/shell.php
#      </IfModule>
#   </Directory>
#</VirtualHost>
