Colin Alston wrote:
> In the default package there should be .htaccess files to prevent
> reading of .inc files. By default most Apache installations will allow
> reading of .inc files posing a security risk, so each directory
> containing these should have an htaccess file such as
No but the following would be really useful:

# Block access to SVN files
<IfModule mod_access.c>
    <DirectoryMatch ~ "^/.*/.svn">
        Order allow,deny
        Deny from all
        ErrorDocument 403 "<h1>Access Denied</h1>"
    </DirectoryMatch>
</IfModule>

Thomas



Reply via email to