[TYPO3] Domain Element not working properly
Amir M.
amir219 at sbcglobal.net
Tue Aug 1 18:05:55 CEST 2006
Christoph Koehler wrote:
> 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.
Thanks for posting Christoph,
Ah ok, so basically copy the current RealURL config I have, but
customize it for each domain. Then when I do that, where do I post the
RealURL code? I post it all (all three RealURL Configs for each domain)
in the same localconf.php - one after the other?
-Amir
More information about the TYPO3-english
mailing list