[TYPO3] Domain Element not working properly

Christoph Koehler christoph.koehler at gmail.com
Mon Jul 31 23:03:46 CEST 2006


On Tue, 01 Aug 2006 10:53:20 -0500, Amir M. <amir219 at sbcglobal.net> wrote:

> [host = www.stratcommandcenter.com]
> config.baseURL = http://www.stratcommandcenter.com/redesign4/
> [global]
>  config.baseURL = http://civ.stratcommandcenter.com
> config.baseURL = http://tw.stratcommandcenter.com


Nope, not like that :)

Use a different condition for each domain.
[host = www....]
do this
[host = civ....]
do that
[host = tw....]
do this
[global]

You get the idea.

RealUrl config you can probably pretty much copy and paste and just change  
a few things:

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
     'www.stratcommandcenter.com' => array(
         'init' => array(
           'enableCHashCache' => 1,
           'appendMissingSlash' => 'ifNotFile',
           'enableUrlDecodeCache' => 1,
           'enableUrlEncodeCache' => 1,
         ),
           'pagePath' => array(
             'type' => 'user',
             'userFunc' =>  
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
             'spaceCharacter' => '-',
             'languageGetVar' => 'L',
             'expireDays' => 7,
             'rootpage_id' => 19,
          ),
	)
	'civ.stratcommandcenter.com' => array(
		etc etc
	)
)

Make sure to change the rootpage_id I guess, that might work already.



More information about the TYPO3-english mailing list