[Typo3] RealURL & Subdomains: xyz.com and ab.xyz.com

Murtada Shah murtadashah at yahoo.com
Mon Sep 19 22:45:25 CEST 2005


Hi,

I have the _DEFAULT part of realurl config setup, in which I also disabled 
enableUrlDecodeCache and disablePathCache.

After the _DEFAULT part, I have:

$TYPO3_CONF_VARS['extConf']['realurl'][xyz.com'] = 
$TYPO3_CONF_VARS['extConf']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['extConf']['realurl']['xyz.com']['pagePath']['rootpage_id'] 
= 1;
$TYPO3_CONF_VARS['extConf']['realurl']['ab.xyz.com'] = 
$TYPO3_CONF_VARS['extConf']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['extConf']['realurl']['ab.xyz.com']['pagePath']['rootpage_id'] 
= 375;

------------------------------------

Each of the subdomains has a 'resources' page, but for some reason, both 
xyz.com/resources, and ab.xyz.com/resources lead to the same page
[leads to the one under ab.xyz.com]

Any ideas? or does anyone have sample realurl configs for subdomains? Is it 
because one is a subdomain, instead of a totally different domain? i.e. is 
realurl getting confused because they both end with xyz.com

Murtada Shah 





More information about the TYPO3-english mailing list