I am trying to forward all request to a subdomain of mine, to one of my "user"'s directories. i.e.
subdomain.domain.com -> domain.com/~user/
I have gotten
Redirect /subdomain.domain.com/index.htm
http://www.domain.com/~user/
to work for URL's just entered as subdomain.domain.com, but I would like to utilize .htaccess's feature of redirecting all requests to a directory to another folder, supposedly accomplished via:
Redirect /subdomain.domain.com
http://www.domain.com/~user/
Thus, a request to subdomain.domain.com/image1.png will be interpreted as
www.domain.com/~user/image1.png
Unfortunately, I can't seem to get it to work (just spits out an error 404) Am I doing something wrong with the above code?
Thanks!