[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Rewriting URLs made with [area href="..." arg="A"]



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

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.