First you have to use both mod rewrite and a dynamic language.
The dynamic language to create the url string in the <a href="">.
and the mod to match the pattern. Only thing is a mod rewrite is not dynamic. each time you grow your url string you have to write a rewriterule to match. You can't dynamically generate rewrite rules.
The only other possible solution is to use 1 rule
RewriteRule ^(.*)/?$ /somefile.php?vars=$1 [L]
vars would = /var1/value1/var2/value2/var3/value3
then in your somefile.php you just do a
$vars_array = explode("/",$vars);
now you would have an array like this
$vars_array[0] = var1
$vars_array[1] = value1
$vars_array[2] = var2
$vars_array[3] = value2 ....
you could loop through that and grab your variables for the page.
Only thing is a file that is 100 folders deep will never get indexed by a search engine. actually the deepest a search engine will go is about 10 folders deep. So if you all want an invisible web site to the entire world except for you your buddies and by word of mouth I'd think of a better url string