Drupal 7无法识别文件目录中正确的.htaccess。为什么?

Drupal 7无法识别文件目录中正确的.htaccess。为什么?,.htaccess,security,drupal-7,.htaccess,Security,Drupal 7,我在Drupal 7.38安装的文件目录中有以下内容-- 现在,这是它应该如何根据设置,但安全审查模块正在报告以下内容 Security Review was able to execute a PHP file written to your files directory. The .htaccess file is missing from the files directory at 请注意,报告并不是通过说明位置来完成的。我的私人设置文件目录是sites/all/default/

我在Drupal 7.38安装的文件目录中有以下内容--

现在,这是它应该如何根据设置,但安全审查模块正在报告以下内容

Security Review was able to execute a PHP file written to your files directory.

The .htaccess file is missing from the files directory at 
请注意,报告并不是通过说明位置来完成的。我的私人设置文件目录是sites/all/default/files。我不知道我是否需要一个单独的私有文件目录。将此设置为private也会导致Ctools出现问题。我可能不得不回到一个公共文件系统,但我现在正在与一个安全问题作斗争,在我的web服务器上放置了垃圾邮件机器人,我正在竭尽全力将其锁定


您知道我为什么从安全审查中得到这个结果吗?

可能是您的Web服务器被设置为忽略yout.htaccess文件。:O我将与主机进行签入。我从来没有想过这个问题。我恢复到另一个文件系统,消息已更改。
Deny from all
Security Review was able to execute a PHP file written to your files directory.

The .htaccess file is missing from the files directory at