Plesk - TYPO3 10LTS - Client denied by server configuration error when trying to access page module & fail2ban locked.

问题描述 投票:0回答:1

我通过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.3apache 4.2

typo3 plesk fail2ban typo3-10.x
1个回答
1
投票

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

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

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

还有一件事你应该检查Apache是否能够访问symlinks。确保以下指令在你的 .htaccess 文件。

Options +FollowSymlinks

© www.soinside.com 2019 - 2024. All rights reserved.