[TYPO3-english] config.baseURL match

Sergio naguib.mahfuz at gmail.com
Wed Jul 7 10:33:14 CEST 2010


Hi list,

I would like to simplify my realurl TS config. Example:

[globalString = IENV:HTTP_HOST=test1.com]
  config.baseURL = http://test1.com/subdomain/

[globalString = IENV:HTTP_HOST=test1.com]
  config.baseURL = http://test2.com/subdomain/
[end]

I would like to convert this code into:

[globalString = IENV:HTTP_HOST=test*]
  config.baseURL = {IENV:HTTP_HOST}/subdomain/
[end]

But I can't get it: is there a way I can use HTTP_HOST variable in the right
part of "config.baseURL"?


More information about the TYPO3-english mailing list