Hi

What I'd like to do is this

have a url
http://www.domain.com/dir1/dir2/dir3...dir5/index.php

rewrite to
http://www.domain.com/index.php?dirs...r3::dir4::dir5

at the same time

have a url
http://www.domain.com/dir1/dir2/dir3//index.php

rewrite to
http://www.domain.com/index.php?dirs=dir1::dir2::dir3

where I have no idea how many directories there will be in the path, but I want them all stacked up into the argument in the query

anybody?

Thanks