[TYPO3] RealURL multisite problem
Xander Damen
xander at roquin.nl
Tue Oct 3 15:43:27 CEST 2006
Bernhard Kraft wrote:
> Xander Damen wrote:
>
>> The only thing I changed are the domainnames in the configuration. Viewing
>> the List page in the second tree still shows the homepage (root pageid).
>
> Have you created the domain-array-keys in the localconf configuration ? Like:
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['doris.bmvit.gv.at'] = &$TYPO3_CONF_VARS['EXTCONF']['realurl']['doris.viadonau.mmc.at'];
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.doris.bmvit.gv.at'] = &$TYPO3_CONF_VARS['EXTCONF']['realurl']['doris.viadonau.mmc.at'];
Indeed I have.
Here is my realurl configuration:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'appendMissingSlash' => 'ifNotFile',
'enableCHashCache' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeHash' => 1
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
),
// begin configure filenames for different pagetypes
'fileName' => array(
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'rdf.xml' => array(
'keyValues' => array(
'type' => 102,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
),
),
// end configure filenames for different pagetype
'postVarSets' => array(
'_DEFAULT' => array (
'article' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
),
array(
'GETvar' => 'tx_ttnews[backPid]',
),
),
'category' => array(
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
'next' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
'search' => array(
array(
'GETvar' => 'tx_indexedsearch[sword]',
),
array(
'GETvar' => 'tx_indexedsearch[ext]',
),
array(
'GETvar' => 'tx_indexedsearch[submit_button]',
),
array(
'GETvar' => 'tx_indexedsearch[_sections]',
),
array(
'GETvar' => 'tx_indexedsearch[pointer]',
),
),
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '_',
'languageGetVar' => 'L',
'expireDays' => 3,
)
);
$TYPO3_CONF_VARS['EXTCONF']['realurl']['ppd.roquin.net'] =
&$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['fauna.roquin.net'] =
&$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['pagePath']['rootpage_id']
= 7;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['ppd.roquin.net']['pagePath']['rootpage_id']
= 6;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['fauna.roquin.net']['pagePath']['rootpage_id']
= 7;
Any ideas what is causing this problem?
Thanks!
Xander
More information about the TYPO3-english
mailing list