hiya
I'm pretty new to the mod_rewrite plugin for apache and i seem to have stumbled and could do with a helping hand if possible.
I have a website where the pages are all created dynamically from a mysql database using a content management system the file structure goes like this
1) http://www.mydomain.com/cms/cms/user1/
...........................|.....................\..../..........\
......................Domain............Folders.....Username
I would like the address bar to show url number 2 when someone requests that same url, but they will be redirected to the dynamic location url1 by a jsp that will be implemented as they request the page. (unless anyone knows how to redirect with mod_rewrite) so my question is how can i change the url using the username as the domain.
2) http://www.user1.com
that is unless anyone knows how to redirect to a dynamic location using rewrite at the same time as implementing the rewrite rule.
thanks for any help in advance
cheers
Brad