Plesk - TYPO3 10LTS - 客户端在尝试访问页面模块时被服务器配置错误拒绝并锁定 fail2ban
Plesk - TYPO3 10LTS - Client denied by server configuration error when trying to access page module & fail2ban locked
我通过 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。
另外,在尝试安装介绍包时,我得到了错误:
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
我前段时间遇到了同样的问题。
对我来说,结果是一个符号链接被分配给了一个虚假的用户。确保将您的符号链接分配给正确的 user:group。在大多数情况下,这是执行 PHP 处理程序的用户:
chown -h <subscription_user>:psacln /var/www/vhosts/example.com/symlink
您应该检查的另一件事是 Apache 能够访问符号链接。确保 .htaccess
文件中存在以下指令:
Options +FollowSymlinks
我通过 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。
另外,在尝试安装介绍包时,我得到了错误:
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
我前段时间遇到了同样的问题。
对我来说,结果是一个符号链接被分配给了一个虚假的用户。确保将您的符号链接分配给正确的 user:group。在大多数情况下,这是执行 PHP 处理程序的用户:
chown -h <subscription_user>:psacln /var/www/vhosts/example.com/symlink
您应该检查的另一件事是 Apache 能够访问符号链接。确保 .htaccess
文件中存在以下指令:
Options +FollowSymlinks