Hi Clay! This solution is that I need! It works! Thanks Roberto
2009/11/11 Clay Sissing <[email protected]> > Can try this > > [globalVar=IENV:TYPO3_HOST_ONLY=www.domain1.com] > config.baseURL = http://www.domain1.com/ > [end] > > [globalVar=IENV:TYPO3_HOST_ONLY=www.domain2.com] > config.baseURL = http://www.domain2.com/ > [end] > > Thanks > Clay > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Roberto > Torresani > Sent: 11 November 2009 15:59 > To: TYPO3 English > Subject: Re: [TYPO3-english] Conditions hostname > > Hi Joh! > Thanks for the answer > my code is out of braces: is config.baseURL and not page.config.baseURL > http://typo3.org/documentation/document-library/references/doc_core_tsre > f/4.2.1/view/1/7/#id4324729<http://typo3.org/documentation/document-library/references/doc_core_tsre%0Af/4.2.1/view/1/7/#id4324729> > > The spelling of the domains are correct > > Thanks > Roberto > > > 2009/11/11 JoH asenau <[email protected]> > > > > I try with the follow typoscript: > > > > > > config.baseURL = http://www.domain.it/ > > > [hostname = www.domain.eu] > > > config.baseURL = http://www.domain.eu/ > > > [end] > > > > > > But if I connect in '.it' or in '.eu' I have always baseURL to '.it' > > > > Check if the hostname really is www.domain.eu since it has to match > > exactly. > > And check if you set the condition inside any curly braces. > > > > Something like this won't work: > > > > page = PAGE > > page { > > config.baseURL = http://www.domain.it/ > > [hostname = www.domain.eu] > > config.baseURL = http://www.domain.eu/ > > [end] > > } > > > > While this one will: > > > > > > page = PAGE > > page { > > config.baseURL = http://www.domain.it/ > > } > > > > [hostname = www.domain.eu] > > page.config.baseURL = http://www.domain.eu/ > > [end] > > > > HTH > > > > Joey > > > > -- > > Wenn man keine Ahnung hat: Einfach mal Fresse halten! > > (If you have no clues: simply shut your gob sometimes!) > > Dieter Nuhr, German comedian > > Xing: http://contact.cybercraft.de > > Twitter: http://twitter.com/bunnyfield > > TYPO3 <http://twitter.com/bunnyfield%0ATYPO3> cookbook (2nd edition): > > http://www.typo3experts.com > > > > > > _______________________________________________ > > TYPO3-english mailing list > > [email protected] > > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english > > > _______________________________________________ > TYPO3-english mailing list > [email protected] > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english > _______________________________________________ > TYPO3-english mailing list > [email protected] > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english > _______________________________________________ TYPO3-english mailing list [email protected] http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
