##
## kaitiaki.conf -- Apache HTTP server configuration file segment
## for kaitiaki web site
################################################
# Make sure the following settings are present
################################################
#
# the mod_virgule module is installed by make install
# so you probably won't need to add these lines
#
LoadModule virgule_module /usr/lib/apache/mod_virgule.so
AddModule mod_virgule.c
#
# To use server-parsed HTML files
# these should also be defaults in httpd.conf
#
AddType text/html .shtml
AddHandler server-parsed .shtml
#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
# kaitiaki site uses index.shtml (others are default)
#
DirectoryIndex index.html index.htm index.shtml index.cgi
################################################
# Modify the settings for the default locations/directories
################################################
#
# DocumentRoot
#
# The root directory for the kaitiaki web site
# change the default to
DocumentRoot "/home/kaitiaki/html"
#
# Here's the settings for the html directory
#
#
# need Includes, I'm not sure about the others
#
Options Indexes Includes FollowSymLinks
#
# This controls which options the .htaccess files in directories can
# override (default value).
#
AllowOverride None
#
# and default access is allow all
#
Order allow,deny
Allow from all
#
# Aliases:
#
# The icons directory is used by some apps (like MajorCool, htdig?)
# to store graphics this setting is in default httpd.conf,
# but may be commented out.
#
Alias /icons/ "/home/httpd/icons/"
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
#
# ScriptAlias:
#
# The kaitiaki site expects cgi-bin here
# which is the default, I believe.
#
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
#
# cgi-bin settings
#
AllowOverride None
Options ExecCGI Includes
Order allow,deny
Allow from all
################################################
# Add the following settings
################################################
#
# http://www.kaitiaki.org.nz/korero/ is the
# address for the hypermail archives of the
# korero mailing list.
#
# add this
#
alias /korero/ /home/httpd/mail-archive/korero/
Options Includes
Order deny,allow
Allow from all
#
# install mod_virgule (kaitiaki version)
# as http://www.kaitiaki.org.nz/virgule/
#
# add this
#
allow from all
VirguleDb /home/kaitiaki/virgule_db