[TYPO3-dev] Strange RealURL Problem

Dmitry Dulepov dmitry.dulepov at gmail.com
Tue May 26 20:38:34 CEST 2009


Hi!

Patrick Lobacher wrote:
> I have a strange RealURL problem which I tried to solve for about a week
> - but I have no clue:

This problem is not with RealURL. RealURL only generates and decodes URLs, it does not do anything related to the preview. TYPO3 uses current domain for preview. In other words, it assumes that all previewed pages are in the current domain. URLs generated by the preview are not RealURLed, they all look like /index.php?id=123 as you found yourself:

> The problem is now, that the users want to have a preview to the page
> they have created. So they click on the icon in the page tree and choose
>  "show". The frontend trys to load with the url like
> 123.123.123.123/index.php?id=pageid
> 
> In this case I get an error message which says "Reason: RealUrl error:
> multidomain configuration without rootpage_id!". I have added an entry
> for the IP-Adress to realurl config (I used the rootpage_id = 1):

The error is explained exactly in this message: RealURL is enabled but cannot find configuration. Therefore it fails. But even if it could find the configuration, it will detect that it cannot decode anything because the URL is not RealURLed! Therefore there is nothing that I or RealURL can do you for you here. When TYPO3 learns to use proper domains for preview, your problems will be solved.

An alternative solution is to ask your users to login to the domain they want to preview.

There is no other solution.

-- 
Dmitry Dulepov
In the TYPO3 blog: http://dmitry-dulepov.com/article/macintosh-vs-hackintosh.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs




More information about the TYPO3-dev mailing list