[TYPO3-english] Real URL conditions

Marcus 'biesior' Biesioroff vsbies at wp.pl
Thu Feb 4 14:41:43 CET 2010


  luca tozzi pisze:
ellou' Luca!

First it's NOT RealURL related, yes it's true that RU requires 
config.baseURL , however you can use it without RU too...

Second I'd suggest to configure localdomain for localhost as a vhost in 
your example it would be ie. http://miosito.loc/ and point it to the 
desired directory.

in such cases I'm using something like this in TS, that's easy and 
effective way, works also with www prefix and subdomains if required:


[globalString = IENV:HTTP_HOST = *.some-project.loc]
config.baseURL = http://some-project.loc/
[globalString = IENV:HTTP_HOST = *.some-project.com]
config.baseURL = http://some-project.com/
[global]


-- 
Marcus 'biesior' Biesioroff
a.k.a. Marek Krawczyk (original)

Polish TYPO3 Community Proud Member
http://typo3.pl


More information about the TYPO3-english mailing list