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

4
我刚刚检查了我的错误日志,发现以下错误出现了很多次:
[error] [client 95.128.128.74] client denied by server configuration:/home/public_html/website/app/etc/local.xml
请问有什么修复建议吗?
1个回答

7

Magento进行安全检查

client denied by server configuration: /var/www/httpdocs/app/etc/local.xml是Apache的错误信息。

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

Magento会为您访问管理区域中的每个页面填充错误日志中的此消息。

消除安全通知。

<layout>
    <default>
        <remove name="notification_security" />
        <remove name="notification_survey" />
    </default>
</layout>

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


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接