Apache redirect help needed

If :

www.vanityurl.com points to www.mysite.com/somedir/ 
in the apache config file how can I have:

 www.vanityurl.com/exclusive/ point to www.mysite.com/somedir/exclusive/

Currently anything going to www.vanityurl.com* goes to www.mysite.com/somedir/ 
Who is Participating?
ravenplConnect With a Mentor Commented:
It's pitty You haven't provided current config, but my guess is
RedirectMatch ^/exclusive http://www.mysite.com/somedir/exclusive/
RedirectMatch ^/$ http://www.mysite.com/somedir/

But in fact the alone
Redirect /  http://www.mysite.com/

will redirect
/exclusive/anything to http://www.mysite.com/exclusive/anything
in other words, it will append anything user typed in the browser to the http://www.mysite.com/
Sorry, In latter case You need
Redirect / http://www.mysite.com/somedir/
894359Author Commented:
The thing is dns point to a cname and from there we use the vhost_prod.map file to set redirects. We also have a prod.conf file that contains the apache rewrites
894359Author Commented:
I'm guessing that I would have to remove the entry from the vhost_prod.map file and use the prod.conf file and only have apache rewrite rules?
All Courses

From novice to tech pro — start learning today.