paramertize lists.gnu.org
[mharc.git] / etc / .htaccess
1 ############################################################################
2 ## $Id: .htaccess.in.dist,v 1.3 2002/09/15 03:43:29 ehood Exp $
3 ## Description:
4 ## Sample Apache local configuration file to deny access to special
5 ## files. If local configuration files are not enabled, then these
6 ## settings would have to be present in httpd.conf.
7 ##
8 ## To use this file, copy the generated .htaccess file to the
9 ## root of the installation when
10 ## 'make configure' is done, or create a symlink to it by
11 ## executing the following command from the installation root:
12 ##
13 ## ln -s ./etc/.htacess
14 ##
15 ## This way, you do not have to re-copy each time you make
16 ## changes to this file.
17 ##
18 ############################################################################
19
20 # Deny access to files that we probably do not want the public to
21 # see. The main one is .mhonarc.db files, especially if we have
22 # mail address obfsucation in the HTML archives.
23 <Files ~ "^(NMZ|\.proc|procmail|msgid.cache|.mhonarc.db|config\.sh|lists\.def)">
24 Order allow,deny
25 Deny from all
26 </Files>
27
28 # Deny access to log files
29 <Files ~ "\.log$">
30 Order allow,deny
31 Deny from all
32 </Files>
33
34 # Deny access to temporary incoming mail file used by filter-spool
35 <Files ~ ".newmail$">
36 Order allow,deny
37 Deny from all
38 </Files>