I recently went live with a new website and one of the departments on campus referred users to a virtual domain.
For example, www.ia.domain.com masked itself as its own website, which was really domain.com/ia
What I want to do, is redirect everyone who hits www.ia.domain.com, to go to domain.com/ia,
as well as www.ia.domain.com/faculty/ => domain.com/ia/faculty/
This is on a new box, so it does not have the original configuration.
The site is being run on Apache, using linux (rhel5).
I am unfamiliar with mod_rewrite. I have done 301 redirects, but I am unable to redirect a virtual sub-domain that way.