Possible Duplicate:
Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask?
I want to redirect http://www.name.com and http://name.com/ to http://my.name.com/.
Examples http://www.name.com/ goes to http://my.name.com http://name.com/ goes to http://my.name.com http://www.name.com/picture.jpg no redirect http://name.com/folder/picture.jpg no redirect
Thanks.
Some more information about your setup would be good, but essentially:
That's for in your virtual host configs for the domains that are redirecting; if it's in an htaccess or
<Directory>
block then you'll need to remove path information:..and if it's in a location like an htaccess that applies to all of the domain names, then you'll need to have it not redirect for the target domain.