为什么Apache提供.htaccess文件

我注意到我的apache系统正在提供.htaccess文件,但它不应该,因为:

# The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> 

这是默认的Apacheconfiguration。 我有许多虚拟主机下面。 我怎样才能找出为什么Apache仍然提供.htaccess文件?

背景:尝试添加一个目录指令来阻止.svn文件夹,同时想知道为什么Apache不会阻止他们,我遇到了这个问题:它根本不阻止任何东西,甚至没有默认的.htaccess

mod_authz_host加载到/etc/apache2/mods-enabled/authz_host.load

 LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so 

它应该是:

 <FilesMatch "^\.ht"> Order allow,deny Deny from all </FilesMatch> 

这需要mod_authz_host加载类似于:

 LoadModule authz_host_module libexec/apache22/mod_authz_host.so