[ic] Rewriting URLs made with [area href="..." arg="A"]
Bill Carr
bill at worldwideimpact.com
Thu Mar 1 14:00:54 EST 2007
On Mar 1, 2007, at 1:16 PM, DB wrote:
> I see from the docs how to use
> [area href="foo" arg="bar"]
>
> to generate a URL such as
> http://www.example.com/foo.html?id=6CZ2whqo&mv_arg=bar
>
> Can anyone dream up a rewite rule that would change
> http://www.example.com/foo.html?id=6CZ2whqo&mv_arg=bar
>
> into
> http://www.example.com/bar.html
Untried, untested, unRTFMed
RewriteCond %{HTTP_HOST} ^www.example.com$
RewriteCond %{QUERY_STRING} mv_arg=(.*)$
RewriteRule ^/foo.html(.*) http://www.example.com/$1
Bill Carr
Bottlenose - Wine & Spirits eBusiness Specialists
(877) 857-6700
http://www.bottlenose-wine.com
More information about the interchange-users
mailing list