[Typo3] Read wrong cache when using config.baseurl with multi-domain

Gilles Deacur tronno22556 at gmail.com
Fri Dec 16 17:41:22 CET 2005

Dennis Cheung wrote:
> Hi,
> I have search around, and I see somebody else have same problem(and he
> didn't get response).
> When using typo3 with config.baseurl enabled.
> It will wrote requested/valid hostname into <base /> tag, and cache it
> into sql server.
> The problem is.
> When I read the same page, in another hostname (e.g. IP, subdomain,
> private domain).
> It read the same cache, and return the last <base /> tag with ANOTHER hostname.
> I guess baseurl=1 was disabled because of this reason??
> How can I force it using a different cache, or insert the hostname in
> the last millisecond.
> Thanks,
> Dennis

I'm not a Typo expert yet, so I feel as if my answer won't address your 
problem, but here's a go at it anyway.

During my searches for baseurl, the root name needs to be defined.

It's not enough to do:

config.baseURL = 1

You need to add the next line as well:

config.baseURL = 1
config.baseURL = http://www.yourdomainname.com/

Gilles Deacur
Sunshine Locksmith Team

More information about the TYPO3-english mailing list