views:

15

answers:

1

Hello,

I've setting in httpd.conf to restrict access to .htaccess files for all sites and it's working for most of the sites. Unfortunately, I can see .htaccess file from web browser at one of my sites.

What can be the reason for that and how can I avoid it?

Thanks in advance.

+1  A: 

The standard directive is:

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

But there may be issues due to case-sensitivity of your file system for example.

Maxwell Troy Milton King