Let's say I have my web folder as public_html. In there I have a sub folder. I can view the folder at:
www.mydomain.com/sub
& mydomain.com/sub
What I want is:
sub.mydomain.com
This will show the content of public_html/sub
. How would I set up my rewrite rules to do this.