I manage apache webserver for few stores, we host multiple domains on this server. We have mod_rewrite engine enabled and have rewrite rules for web tracking using pattern match.
for one of our virtual domain we want to control the redirection to only specific domains.
Example:
ht
tp://test.example.com/ab/xyz.php?abc/1234/7834/ http://example.com/site/?123=email
In the above example we want to restrict redirection to only "example.com" and not to any other domain. OR a list of domains which want to redirect. Do we need add redirect condition above the redirect rules or below?
Any help is much appreciated.
Thank you
[edited by: incrediBILL at 12:27 am (utc) on Jun 4, 2014]
[edit reason] unlinked example URL [/edit]