phranque - 7:46 pm on Dec 11, 2013 (gmt 0)
RewriteRule ^(.*)$ htt://www.site_aa.com/$1 [r=301,nc]
//301 Redirect Entire Directory
RedirectMatch 301 htt://www.site_aa.com/exists_dir/(.*) htt://www.site_bb.com/exists_dir//$1
- this RedirectMatch regular expression won't match the protocol and hostname in the requested url.
The supplied regular expression is matched against the URL-path
- you shouldn't mix mod_alias and mod_rewrite directives within the same configuration.
when there are Redirect(Match) and RewriteRule directives in the same scope, the RewriteRule directives will run first, regardless of the order of appearance in the configuration file.