Bug #76968
closed
Workspace Preview doesn't work on Multidomain Rootpages
Added by Mansoor Ahmad over 8 years ago.
Updated over 8 years ago.
Description
Hello,
if i am logged into the backend with the Domain example www.hanspaul.de/typo3 (Rootpage 1) and click on the Previewbutton of a Page from the secound/another Rootpage 2, then the Previewlink will be opend correctly with the Domain of Rootpage 2 in a new Browsertab. But if i switched to a Workspace and try to open the Preview from any page of Rootpage 2, then i will redirected to www.muellerman.de/typo3 and must login. The issue could be, that the Backendsession in the Workspacemodus doesn't effect over Multidomain Rootpages.
+Rootpage 1(www.hanspaul.de)
- About me
-- Fotos
- Press
+Rootpage 2(www.muellerman.de)
- Products
-- Car
- FAQ
I tested this thing with TYPO3 6.2.X, 7.6.9 and 8.2.0 including PHP 5.5, PHP 5.6 and PHP 7.0.8. All Versions have the same Problem. Any idea???
With best regards,
Mansoor Ahmad
Files
- Status changed from New to Rejected
- Target version deleted (
8.3)
- PHP Version deleted (
7.0)
To make this work you can use the PageTSconfig option "TCEMAIN.previewDomain".
Set it on the root page of your site and preview works with a multi domain setup.
Hello Wouter,
i already try out this PageTSconfig "TCEMAIN.previewDomain" Option, but it didn't help.
PageTSconfig of Rootpage 1(www.hanspaul.de)
TCEMAIN.previewDomain = http://www.hanspaul.de
PageTSconfig of Rootpage 2(www.muellerman.de)
TCEMAIN.previewDomain = http://www.muellerman.de
This Issue comes only in the Workspacemodus, not in the Livemodus.
I try out this config with and without "http://", both versions are not working in Workspace Preview
Thanks for the video! That really helpful to see what you execute.
The problem here is that you are logged in for the domain http://www.hanspaul.de So your backend session is bound to this domain and not to http://www.muellerman.de
The workspace preview is using your backend session for the preview and this way you receive the login screen.
You need to login on http://www.muellerman.de and use the preview option.
Also available in: Atom
PDF