re,
I can't figure out how to do the following:
IF there is a "a=" in the query string, I want to redirect (rewrite URL in browser) to:
http :// [host where the request came to] /test / [value of "a"] /
my condition looks like this:
RewriteCond %{QUERY_STRING} at=(.*)
RewriteRule ^(.*) {HTTP_HOST}/test/%1
....it doesn't work.
if I change RewriteRule to:
^(.*) http :// 127.0.0.1 / test / %1
it works, but it appends the whole "a=whatever" string after %1.
how do I fix that?
thanks in advance. you guys are always so helpful.
[edited by: crimsontwo at 12:52 am (utc) on Mar 25, 2010]