mod_rewrite can do that same trick without the symlink hack and multiple levels. In fact, under Set Environment Variables According To URL Parts at the mod_rewrite guide, you'll see an example of how to extract a portion of the URL and insert it into a known ENV variable.