Bug #82733
closedWorkspaces and multidomain
0%
Description
when i click preview link in typo3 i go to website which has been set as baseUrl for current language
when i enter workspace and click preview link i go to a complete different domain. which points now to a previous installation on another server.
meaning i can't preview pages from workspace in new installation.
typo3 version 7.6.18 workspaces version is 7.6.0
as you can see from screenshot it does redirect me from correct domain name to wrong one.
view option does work fine it shows correct page in iframe.
however i do get errors in console :
index.php?id=827&ADMCMD_editIcons=1:937 Uncaught DOMException: Blocked a frame with origin "http://www.simco-ion.nl" from accessing a cross-origin frame. at HTMLDocument.TYPO3.ready (http://www.simco-ion.nl/index.php?id=827&ADMCMD_editIcons=1:937:21) TYPO3.ready @ index.php?id=827&ADMCMD_editIcons=1:937 index.php?id=827&ADMCMD_editIcons=1:1049 Uncaught DOMException: Blocked a frame with origin "http://www.simco-ion.nl" from accessing a cross-origin frame. at HTMLDocument.TYPO3.ready (http://www.simco-ion.nl/index.php?id=827&ADMCMD_editIcons=1:1049:21) TYPO3.ready @ index.php?id=827&ADMCMD_editIcons=1:1049
it seem as workspace is running on different domain.
Files
Updated by Wouter Wolters about 7 years ago
- Status changed from New to Rejected
When you work with a multi domain website and you want to open previews on another domain you need to set the following option TCEMAIN.previewDomain = http:://example.tld
The blocking of frames is not something from TYPO3 but something from your webserver.
I'll close this ticket because a multi domain installation needs more configuration and does not work out of the box.
Updated by Naberd Zendi about 7 years ago
Wouter Wolters wrote:
When you work with a multi domain website and you want to open previews on another domain you need to set the following option TCEMAIN.previewDomain = http:://example.tld
The blocking of frames is not something from TYPO3 but something from your webserver.
I'll close this ticket because a multi domain installation needs more configuration and does not work out of the box.
have TCEMAIN.previewDomain = http://www.simco-ion.nl in config
and options.workspaces.previewPageId = field:pid