Re: [us...@httpd] Re: htaccess serving different domain with different front controllers

2009-09-24 Thread james cauwelier
Thanks Nick, But this is a solution I already thought off, except in PHP. Anyway, I think it is cleaner to put this kind of things in .htaccess, especially when a client needs about 6 different domain for one particular front controller. But thanks for the input. James 2009/9/24 : >  Hi James

[us...@httpd] Re: htaccess serving different domain with different front controllers

2009-09-24 Thread Nick
Hi James, > - web/index.php for the main website > - web/sioen.php for a copy of the website with different looks An alternative: ( I'd use perl to do this ) index.cgi (or index.pl) $lowerCase = lc($ENV{'HTTP_HOST'}); if ($lowerCase =~ /sioen/) { $Pa