[TYPO3] RealUrl and two websites in one database

Artiom Lunev artiom1st at yahoo.com
Mon Mar 20 16:56:47 CET 2006


It didn't helped in my case :(
is there anything else I could try?

Regards,
Artiom.


Michael H.E. Roth wrote:
>>> I thought I had trouble with that as well, because links stopped 
>>> working  on my sites, but then I realized my realURL settings didn't 
>>> have separate  settings for each site (rootUID I believe was the 
>>> problem), so I made  separate configs for each and now it works 
>>> flawlessly.
>>
>>
>> Where, and how exactly do I have to set rootUID (in the setup or in 
>> the constants)?
>>
>> It would be nice it you could post a "complete" and working example 
>> (maybe even as comment to the realurl-docs...)
> Found it:
> It's not rootUID but 'rootpage_id' and it has to be set in the 
> .../realurl/ext_localconf.php:
> 
> # do the following lines for each hostname/domain
> # replace <domain> with the actual domain,
> # and <rootpage-id> with the actual uid of the rootpage of
> # this domain
> 
> # copy the default-settings for this dedicated host-name:
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['<domain>'] = 
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
> # set the rootpage-id !!
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['server-name1']['pagePath']['rootpage_id'] 
> = <rootpage-id>;
> 
> Hope I got it right
> 
> Michael
> -- 
> Michael H.E. Roth
> u.a. www.footballdrills.com



More information about the TYPO3-english mailing list