What would the rewrite rule be to change subdomain.domain.tld
to domain.tld/subdomain
?
Or should I look at a VirtualServer directive to take subdomain.domain.tld
and serve it from a DocRoot that happens to be also found at domain.tld/subdomain
?
And where would the rewrite rule want to live, if using a rewrite is more appropriate?