Plesk ubuntu-TYPO3 10LTS-客户端在尝试访问页面模块时被服务器配置错误拒绝

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

我通过作曲者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

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

前段时间我遇到了同样的问题。

对我来说,结果是将符号链接分配给虚假的用户。确保将您分配的符号链接分配给正确的user:group。在大多数情况下,这是执行PHP处理程序的用户:

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

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

Options +FollowSymlinks

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