This is it:
I host a few users, I do not run my own server. I have been using a perl engine to allow uploads and file creation but now I have access to unlimited subdomains and respective ftp.accounts. I would now like to offer my users the more eye-friendly url of:
user.domain.com
instead of the old:
domain.com/users/user/
But this doesn't work since the subdomains are created outside of my own www folder, ls shows mail subdomains www:
- Code: Select all
Redirect 301 / http://user.domain.com/
I put it into a .htaccess and slided it into the actual users/user folder and get a wierd user.domain.com/users/user don't exist on this server.
Tried backracking also with ../../ without any luck.
So, is there a way with mod_rewrite or am I doing something wrong with the non-mod_rewrite thing?
Btw, the users folders have subfolders and stuff, and I want a redirect or a rewrite to catch everything requested from the old folder and serve it from the subdomain in the same structure as before, only, duh, on the subdomain
Thanks