Magento - 错误日志(服务器拒绝客户端)

Dot*_*com 4 magento

我刚检查了我的错误日志,以下内容已多次出现:

[错误] [客户端95.128.128.74]客户端被服务器配置拒绝:

/home/public_html/website/app/etc/local.xml

有关修复的任何建议吗?

Sli*_*yyy 7

Magento检查安全性

client denied by server configuration: /var/www/httpdocs/app/etc/local.xml 是一条Apache错误消息.

有人试图local.xml通过Web浏览器直接访问您的文件,但被服务器配置阻止是正确的.

Magento使用此消息填写您的错误日志,您可以在管理区域中访问每个页面.

摆脱安全通知

<layout>
    <default>
        <remove name="notification_security" />
        <remove name="notification_survey" />
    </default>
</layout>
Run Code Online (Sandbox Code Playgroud)

这将完全从后端页面中删除块notification_security和notification_survey,从而跳过安全检查