I plan to receive a number of urls. What mod rewrite rules would I use to make the following conversions for incoming urls:
http://domain.com/i/ =>
http://domain.com/index.php
http://domain.com/i/b/233223/c/23333 =>
http://domain.com/index.php?b=233223&c=23333
http://domain.com/i/dd/9844kjhf/fj/djP756/ee/kjhKJH =>
http://domain.com/index.php?dd=9844kjhf&fj=djP756&ee=kjhKJH
http://domain.com/r/ =>
http://domain.com/restore.php
http://domain.com/w/place/chicago =>
http://domain.com/withold.php?place=chicago
http://domain.com/w/ =>
http://domain.com/withold.php
Basically, the first portion after the domain corresponds to a page, the rest is a set of any number of parameters to be passed.