I'm looking to change a URL from something like this:
http://www.mysite.com/foo/index.html?bar/page.html
to this:
http://www.mysite.com/foo/bar/index.html?id=page.html
I've tried different variations but just can't seem to get it. I thought maybe something like the following...
RewriteBase /foo/
RewriteRule ^index.html?bar/(.*) bar/?id=$1 [R]
but that doesn't do it.
Any help greatly appreciated.