首页 > 解决方案 > Plesk - TYPO3 10LTS - 客户端在尝试访问页面模块时被服务器配置错误拒绝并被锁定

问题描述

我通过 composer linux plesk obsidian 18.0.27 和 ubuntu 16lts 安装了一个新的typo3 10lts。

尝试访问页面模块时,我在 error_log 中收到此类错误:

evasive20:error pid 5442 client denied by server configuration: /var/www/vhosts/domain/httpdocs/test-composer/public/typo3/index.php, referer: https://domain/typo3/index.php?route=%2Fmain&token=df1d870594fbb7e7a90csdf69esdf0af6f97sdf9b
evasive20:error pid 5442 client denied by server configuration: /var/www/vhosts/domain/httpdocs/test-composer/public/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-filter.svg, referer: https://domain/typo3/index.php?route=%2Fmain&token=df1d870594fbb7e7a90csdf69esdf0af6f97sdf9b
evasive20:error pid 5442 client denied by server configuration: /var/www/vhosts/domain/httpdocs/test-composer/public/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-refresh.svg, referer: https://domain/typo3/index.php?route=%2Fmain&token=df1d870594fbb7e7a90csdf69esdf0af6f97sdf9b
evasive20:error pid 1868 client denied by server configuration: /var/www/vhosts/domain/httpdocs/test-composer/public/typo3/index.php, referer: https://domain/typo3/index.php?route=%2Fmain&token=df1d870594fbb7e7a90csdf69esdf0af6f97sdf9b

...浏览器死机,我的 IP 被扔进了 fail2boan。

在同一台服务器上,我有另一个具有相同 php 设置的测试域,并通过 plesk 安装了 TYPO3,一切正常……但他们有一个旧的 8.7LTS。

此外,在尝试安装介绍包时,我得到 tis 错误:

evasive20:error pid 26284 client IP:45854 client denied by server configuration: /var/www/vhosts/domain/httpdocs/test-composer/typo3/install.php, referer: https://domain/typo3/install.php?install[controller]=environment&install[context]=backend

我该如何解决这个问题以及我需要做什么(逐步)?

php 7.3 阿帕奇 4.2

标签: typo3pleskfail2bantypo3-10.x

解决方案


前段时间我有同样的问题。

对我来说,事实证明一个符号链接被分配给了一个虚假的用户。确保将您分配的符号链接分配给正确的用户:组。在大多数情况下,这是执行 PHP 处理程序的用户:

chown -h <subscription_user>:psacln /var/www/vhosts/example.com/symlink

您应该检查的另一件事是 Apache 能够访问符号链接。确保您的.htaccess文件中存在以下指令:

Options +FollowSymlinks


推荐阅读