while i don't know the apache directive off the top of my head there most certianly is a way to direct requests based on subdomain and i think also based on path to different places on disk. i'm 99% certain that some reading on apache conf will be worthwhile!
cfh

