############################################################################
## $Id: apache.conf.in.dist,v 1.8 2003/08/09 18:01:39 ehood Exp $
## Description:
## The following are template/example Apache configuration
## directives that apply to the mail archives.
##
## IMPORTANT: MAKE SURE TO REVIEW THE DIRECTIVES HERE IF
## USE THIS FILE AGAINST ANY SECURITY CONCERNS
## YOU MAY HAVE.
############################################################################
# Uncomment and change the following if ROOT_URL in config.sh
# is not already directly accessible from a web client.
#Alias /archive "/home/mharc"
# Enable mharc CGI programs. Alternate enabling method is
# defined below.
ScriptAlias /archive/cgi-bin/ "/home/mharc/cgi-bin/"
AllowOverride All
Options MultiViews Indexes FollowSymLinks
IndexOptions FancyIndexing NameWidth=* SuppressSize SuppressLastModified
# Make sure namazu index files are not visible in directory listings
IndexIgnore NMZ.*
# Deny access to files that we probably do not want the public to
# see. The main one is .mhonarc.db files, especially if we have
# mail address obfsucation in the HTML archives.
Order allow,deny
Deny from all
# Deny access to log files
Order allow,deny
Deny from all
# Deny access to temporary incoming mail file used by filter-spool
Order allow,deny
Deny from all
# Limit the types of HTTP methods allowed
Order allow,deny
Allow from all
Order deny,allow
Deny from all
# Enable CGI execution for cgi-bin directory. This is probably not
# necessary if the above ScriptAlias directive is used.
Options +ExecCGI
AddHandler cgi-script .cgi
# Browsing access to raw mail archives.
AllowOverride All
Options Indexes FollowSymLinks
IndexOptions FancyIndexing SuppressDescription