开发者

Apache shows .htaccess for some sites

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 avo开发者_如何学Cid it?

Thanks in advance.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜