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

2009-09-24 Thread james cauwelier
Hi All, I am developing a website which has different front controllers: - web/index.php for the main website - web/sioen.php for a copy of the website with different looks I don 't seem to be able to redirect the correct host to the correct controller and I am hoping that somebody can help

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

2009-09-24 Thread Krist van Besien
On Thu, Sep 24, 2009 at 8:43 AM, james cauwelier james.cauwel...@gmail.com wrote: Here is my .htaccess (I deleted unimportant parts from my colleague), I suspect the line with [S=1] is to blame: Yes, it is. [S=1] is only valid for a RewriteRule, not a RewriteCond. # redirect only when file

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

2009-09-24 Thread James Cauwelier
Thanks. With your explanation, I am sure I 'll get the rules working as I want them to. James (PS: ik weet niet wat je bedoeld met Sioen, dus kan ik je daar niet echt een antwoord op geven. ) On Sep 24, 2009, at 1:06 PM, Krist van Besien wrote: vanbesien.org