I'm trying to build a redirect for apache. What I need to happen is that content available at domain.com/test/ is available at test.domain.com. It should happen for all child sub directories of public_html.
I simply used the wildcard subdomain, and then a php script to parse the subdomain being requested, and then load the corresponding directory. Easy pie.