Need help editing ht-access file to point to subfolders.

Can anyone help me write a ht-access file that point to subfolders?

I need to do this:

If any subdomain.site.com goto /site/index.php.

Help is appreciated.