Typo3 Mailarchive typo3_english typo3_dev


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TYPO3-english] realURL with multisite



Bernhard Kraft wrote:
>> $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
>>     'www.domainname1.com' => $tx_realurl_config,
>>     'domainname1.com' => 'www.domainname1.com',
>>     'www.domainname2.tld' => $tx_realurl_config,
>>     'domainname1.com' => 'www.domainname1.com',
>> );
> 
> Here $tx_realurl_config is NOT set ... (or did you set
> it anywhere before ???)
Numeric page names is a clear sign for missing configuration for a domain. So I 
assume $tx_realurl_config isn't set, too.

 
> So this should be rather:
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['domainname1.com']=&$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainname1.com'];
> 
> Just note the "&" before the defintion for "domainname1.com"
You don't need this trick, as "string pointer" is a feature of realurl, so 
Luca's configuration is ok for this part.
Of course variable reference might be faster..

Steffen
_______________________________________________
TYPO3-english mailing list
TYPO3-english@xxxxxxxxxxxxxxxxxxxx
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english