domain independent setup?

Permalink
my running c5 installation should react on 3 Domains (co-domains) all pointing to the same root.
My root contains a script realising a domain sensitive redirect with header('Location:http://www.domain1.com/ab/');...

What I need is that C5 keeps the requested URL/Domain instead of the BASE_URL given in /config/site.php.
Is there a possible way of customizing?

the goal is to provide a multilanguage switch by the 3 corresponding .tld domains.

Thanks,
D.

DKegel
 
Remo replied on at Permalink Reply
Remo
you can add this line to your site.php
define('REDIRECT_TO_BASE_URL', false);


and it doesn't redirect anymore..

however, if you want a language switch, it's going to be a bit more work. See this:http://www.concrete5.org/community/features/support_for_multiple_do...