【问题标题】:Disable security rule on whm/cpanel在 whm/cpanel 上禁用安全规则
【发布时间】:2015-07-25 01:14:27
【问题描述】:

当我尝试通过 wordpress 上传文件时,我得到了

Security Alert

The file you are uploading was rejected by the server.
It probably contents viruses or trojans that can damage your website

Do not attempt to upload it again as your IP address may be blocked.

我已经研究过,我知道是服务器问题。只是我无法联系主机,因为主机是自我管理的,所以我怎样才能让这个错误消失,它发生在服务器上的所有站点上。我可以访问 WHM 和 Cpanel。 我想提一下,在我的本地主机上一切正常,文件没有被感染,它是一个简单的图像,并测试了几个图像。我明白了一些我需要在某处列入白名单的东西,但并不具体。

【问题讨论】:

    标签: php linux server cpanel whm


    【解决方案1】:

    此问题的简单解决方案是在您的 Cpanel 上禁用 ModSecurity。

    1. 登录您的 Cpanel
    2. 转到安全类别并单击 ModSecurity
    3. 选择您正在使用的域并将其关闭。
    4. 刷新页面

    然后,您就可以开始了,您将能够在您的网站上上传任何文件。

    【讨论】:

      【解决方案2】:

      找到了答案。这是因为插件 Pyxsoft Anti Malware & Security。需要登录 WHM => Plugins => Pyxsoft Anti Malware => HTTP Inspector Tab => Enable http upload inspector - 设置为 No.

      【讨论】:

        猜你喜欢
        • 2016-07-27
        • 1970-01-01
        • 1970-01-01
        • 2012-06-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多