I have two parts to a site, foo.domain.com and bar.domain.com (with bar.domain.com really being a CNAME to another host) I want users entering www.domain.com to be redirected to bar.domain.com. That is a simple redirect, no problem.
However I also want to be able to access subfolders of www.domain.com, is there a way the .htaccess file can be configured for this?