[TYPO3] RealURL, config.baseURL problem

Dennis Cheung hkdennis2k at gmail.com
Sat Jan 14 02:04:02 CET 2006


I think hostname in typoscript is the hostname of "CLIENT"
But I don't found some document say it is client's or server's.

The source code say, it is the client's.

Use this.
[globalVar=IENV:TYPO3_HOST_ONLY=xxxx.com]

Forget the example you can found in wiki/manual, they are wrong.



The not found error is printed by typo3, or by apache?




Dennis



On 1/13/06, Gerhard Mehsel <sparking at gmx.net> wrote:
> Hello,
>
> I have a website which should be accessible through multiple domains
> with the RealURL ext.
> Therefore I set up some conditions in the template setup for the
> multiple domains:
>
> config.simulateStaticDocuments = 0
>
> config.baseURL = http://www.domain1.de
>
> [hostname = www.domain1.de]
> config.baseURL = http://www.domain1.de/
> [global]
>
> [hostname = domain1.de]
> config.baseURL = http://domain1.de/
> [global]
>
>
> [hostname = www.domain2.de]
> config.baseURL = http://www.domain2.de/
> [global]
>
> [hostname = domain2.de]
> config.baseURL = http://domain2.de/
> [global]
>
>
> [hostname = www.domain3.de]
> config.baseURL = http://www.domain3.de/
> [global]
>
> [hostname = domain3.de]
> config.baseURL = http://domain3.de/
> [global]
>
> config.tx_realurl_enable = 1
>
>
> Is it necessary to distinguish between www.domainX.de and domainX.de
> (the interesting thing here is the "www")?
>
> When I use thew above setup, the realurl ext. seems to work, so I can
> see the right path in the status bar of the browser. Unfortunately typo3
> is not able to find files like http://www.domain1.de/140/; I get a file
> not found error in the browser.
>
> What is still wrong here?
>
> Thank you all,
> Gerd
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list