############################################################################
## $Id: .htaccess.in.dist,v 1.3 2002/09/15 03:43:29 ehood Exp $
## Description:
##	Sample Apache local configuration file to deny access to special
##	files.  If local configuration files are not enabled, then these
##      settings would have to be present in httpd.conf.
##	
##	To use this file, copy the generated .htaccess file to the
##	root of the installation when
##	'make configure' is done, or create a symlink to it by
##	executing the following command from the installation root:
##
##	  ln -s ./etc/.htacess
##
##	This way, you do not have to re-copy each time you make
##	changes to this file.
##
############################################################################

# 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.
<Files ~ "^(NMZ|\.proc|procmail|msgid.cache|.mhonarc.db|config\.sh|lists\.def)">
    Order allow,deny
    Deny from all
</Files>

# Deny access to log files
<Files ~ "\.log$">
    Order allow,deny
    Deny from all
</Files>

# Deny access to temporary incoming mail file used by filter-spool
<Files ~ ".newmail$">
    Order allow,deny
    Deny from all
</Files>
