You can try SSI or mod_rewrite
In reply to Re: redirection based on cookie by ccn in thread redirection based on cookie by Anonymous Monk