Pattern matching works only with the requested path. It cannot test the requested domain nor parameters.
RedirectMatch cannot be used when the request contains parameters. Use a RewriteRule to test the path and a RewriteCond to test QUERY_STRING or THE_REQUEST.
Use example.com in this forum to suppress auto-linking.
sweet160
6:16 pm on Feb 17, 2012 (gmt 0)
I really have to admit that this isnt my field but i am guessing something like:
Guess a little more. REMOTE_HOST is the other person's domain name. You need to look at QUERY_STRING, among other things.
The Rule will always fail, because the body of an URL in mod_rewrite never begins with a / unless it was malformed to start with.
R by default means 302. Never use this unless you really do plan to stop redirecting within a few weeks.
Come to think of it, I don't remember seeing any discussion on what "temporary" means. Maybe there isn't a hard-and-fast rule other than "I won't be doing this forever".