I have several domains that reach one Apache server.
I'd like to redirect based on the hostname used to reach the site
So given domain1.com, domain2.com, and domain3.com
all reach domain.com,
domain1.com should get re-written to www.domain.com/domain1_stuff
domain2.com should get re-written to www.domain.com/domain2_stuff
domain3.com should get re-written to www.domain.com/domain3_stuff
And I would like to force the www. for all
Thanks!!