How how are the .inc files protected?

On Sat, 24 Jun 2006 19:02:48 +1000, Thomas Mangin <[EMAIL PROTECTED]> wrote:

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






--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


Reply via email to