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 to a dynamically created location with mod_rewrite at the same time as implmenting the rewrite rule).
So my initial question is how can i change the url using the username as the domain.
2) http://www.user1.com
thanks for any help in advance
Brad
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 to a dynamically created location with mod_rewrite at the same time as implmenting the rewrite rule).
So my initial question is how can i change the url using the username as the domain.
2) http://www.user1.com
thanks for any help in advance
Brad