简体   繁体   English

TYPO3和IOS:无法打开页面

[英]TYPO3 and IOS: can't open the page

My situation: 我的情况:
I have 10 typo3-websites running on two servers: 我有两个服务器上运行的10个typo3-网站:

  • First Server (apache with php 5.6.32): 第一台服务器(使用php 5.6.32的Apache):
    • typo3 versions: 6.2.3, 6.2.4 and 6.2.14 typo3版本:6.2.3、6.2.4和6.2.14
  • Second Server (apache with php 7.0.26): 第二台服务器(Apache 7.0.26版):
    • typo3 versions: 7.6.14 and 8.7.1. typo3版本:7.6.14和8.7.1。

  • I'm not able to open the page on an iPhone or iPad with osx 10.x or above. 我无法在osx 10.x或更高版本的iPhone或iPad上打开页面。 I tested it on safari, chrome and firefox, but I get always an error like: "[browser] can't open the page (...) because the server unexpectedly dropped the connection. (...)" 我在safari,chrome和firefox上进行了测试,但始终收到类似以下错误:“ [浏览器]无法打开页面(...),因为服务器意外断开了连接。(...)”

  • On a mac (osx 10), I get the error only in safari 11.0.2, but not in firefox or chrome. 在Mac(OSX 10)上,我仅在Safari 11.0.2中得到错误,而在Firefox和Chrome中则没有。

  • I can open the pages without any problems, if I'm logged in at the typo3-backend with the same browser. 如果我使用相同的浏览器在typo3后端登录,则可以毫无问题地打开页面。

  • A Wordpress-Page is also running on the second server without any problems. 第二台服务器上也可以正常运行Wordpress-Page。

  • I have no problems on windows, android or other linux machines. 我在Windows,Android或其他Linux机器上没有问题。


I tried the following without success: 我尝试了以下操作但未成功:

Any ideas? 有任何想法吗?

Have you tried to set the header content-length to 0? 您是否尝试将标头content-length设置为0? https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html#enablecontentlengthheader https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html#enablecontentlengthheader

Try to set the following lines to your TypoScript 尝试将以下行设置为您的TypoScript

config.enableContentLengthHeader = 0

You say you can open the page if you are logged in that matches the following description: 您说如果登录符合以下说明,则可以打开页面:

If the Backend user is logged in, this is disabled. 如果后端用户已登录,则将其禁用。 The reason is that the content length header cannot include the length of these objects and the content-length will cut off the length of the document in some browsers. 原因是内容长度标头不能包含这些对象的长度,并且在某些浏览器中,内容长度会切断文档的长度。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM