[TYPO3-english] config.baseURL match

Stephen Bungert stephenbungert at yahoo.de
Wed Jul 7 10:46:41 CEST 2010


You could always use the userfunc, check in your function if host = test*


"Sergio" <naguib.mahfuz at gmail.com> schrieb im Newsbeitrag 
news:mailman.28155.1278491891.610.typo3-english at lists.typo3.org...
> 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