apache_conf htaccess安全

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf htaccess安全相关的知识,希望对你有一定的参考价值。

# http://socreativedigital.com/7-htaccess-file-examples-that-work-for-seo-2013-05-04
# This piece of code is essential for securing your htaccess file. It disables
# access from the internet so no one can read, download or edit it from your
# website. This code differs from some you may find on other websites as it offers
# heightened security by adding strong pattern matching:
#
<Files ~ “^.*\.([Hh][Tt][Aa])”>
order allow,deny
deny from all
satisfy all
</Files>

以上是关于apache_conf htaccess安全的主要内容,如果未能解决你的问题,请参考以下文章