Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Redirect 类型3:没有正确连接到访问受限装入点页面的树根_Redirect_Typo3_Restriction_Mount Point - Fatal编程技术网

Redirect 类型3:没有正确连接到访问受限装入点页面的树根

Redirect 类型3:没有正确连接到访问受限装入点页面的树根,redirect,typo3,restriction,mount-point,Redirect,Typo3,Restriction,Mount Point,如果用户想要访问受限页面,我需要帮助将其重定向到登录页面 首先,我将解释树根的样子。该Typo3实例有多个域。 每个域在树中都有自己的部分和自己的打字脚本。有一个模板域包含所有其他域的模板以及所有其他域的一些内容 Root (0) +- Template-Domain (3) +- Pagetree-Group-A (13, access restricted, standard) +- Content-A-1 (103, standard) +- Con

如果用户想要访问受限页面,我需要帮助将其重定向到登录页面

首先,我将解释树根的样子。该Typo3实例有多个域。 每个域在树中都有自己的部分和自己的打字脚本。有一个模板域包含所有其他域的模板以及所有其他域的一些内容

Root (0)
+- Template-Domain (3)
    +- Pagetree-Group-A (13, access restricted, standard)
        +- Content-A-1 (103, standard)
        +- Content-A-2 (113, standard)
    +- Pagetree-Group-B (23, access restricted, standard)
        +- Content-B-1 (163, standard)
        +- Content-B-2 (173, standard)
    +- Other-Pages (33, standard)
+- Domain-A (523)
    +- Pagetree-Group-A (533, access restricted, standard)
        +- Content-A-1 (583, standard)
        +- Content-A-2 (593, standard)
    +- Pagetree-Group-B (543, access restricted, mountpoint->23)
    +- Other-Pages (553, standard) |
+- Domain-B (1643)
    +- Pagetree-Group-A (1653, access restricted, standard)
        +- Content-A-1 (1693, standard)
        +- Content-A-2 (1703, standard)
    +- Pagetree-Group-B (1663, access restricted, mountpoint->23)
    +- Other-Pages (1673, standard)
+- Domain-C (3693)
    +- Pagetree-Group-A (3703, access restricted, standard)
        +- Content-A-1 (3753, standard)
        +- Content-A-2 (3763, standard)
    +- Pagetree-Group-B (3713, access restricted, mountpoint->23)
    +- Other-Pages (3723, standard)
当一个未登录的用户现在想要从Domain-X访问Content-a-X时,由于Typo3的行为,他从Domain-X页面获取内容(登录表单)

但是如果他想从Domain-X访问Content-B-X页面,Typo3会抛出错误

=======================

哎呀,发生了一个错误! 请求的页面与树根没有正确的连接

(保留MP值!)

=======================

我想用登录表单将用户重定向到Domain-X页面。但是使用
config.additionalHeaders=Location:/…
不会改变任何东西。我认为这是因为错误是在执行打字脚本之前抛出的


是否有可能在该行为上出错?

我不知道您到底想做什么,但我经常在TYPO3中的根点上共享内容时遇到问题

这些设置对于跨域的键入链接和内容共享至关重要

您的配置中有这些设置吗

# Links & content sharing across domains
config.typolinkEnableLinksAcrossDomains            = 1
config.typolinkCheckRootline                       = 1
config.content_from_pid_allowOutsideDomain         = 1
config.MP_mapRootPoints                            = 1, 2, 3 [your root points]

你的结构中有没有偶然的捷径?我知道我们在这方面有一个开放的变更请求:不,没有使用快捷方式。只有标准页面。不知道这是否重要,使用了realurl 1.12.3。还有一件事我没告诉你,那就是打字错误3的版本。它的4.5.25。没有realurl这个功能可以工作吗?如果是这样,那么您需要修复您的realurl配置。不,如果没有realurl,问题仍然存在,再加上页面产生相同错误的其他问题,即使已登录。在我给出的例子中,是543页、1663页和3713页。你能从哪里突出你想要的吗。请给出一个更一致的例子,因为我目前对您试图归档的内容一无所知。