[TYPO3-english] Strange RealUrl multiple domain problem

Marieke de Bruin marieke at purplesky.nl
Wed Dec 14 09:00:33 CET 2011


Hi Vector,

Yes I am using that.

This is my realurl_conf

<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 30,
'enableUrlDecodeCache' => TRUE
),
);
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain1.com'] =
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain1.com']['init']['rootPageID']
= 1;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain1.com']['pagePath']['rootpage_id']
= 1;

$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain2.com'] =
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain2.com']['init']['rootPageID']
= 31;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain2.com']['pagePath']['rootpage_id']
= 31;

$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain3.com'] =
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain3.com']['init']['rootPageID']
= 23;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domain3.com']['pagePath']['rootpage_id']
= 23;

?>

Is something wrong with this?

Marieke



2011/12/13 Victor Livakovsky <v-tyok at mail.ru>

> Hi, Marieke.
>
> Just a general question: are you using '_DEFAULT' configuration? If so, it
> may be your problem.
> ______________________________**_________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>


More information about the TYPO3-english mailing list