Hi Guys, thanks for reading.. I'm new to mod_rewrite and have an interesting challenge.
I have a dedicated Lunarpage server with a number of domains on it. One main domain links out to these other sites. My client now wants all of the other sites to appear as folders under the Master domain... i.e.
masterdomain.com/visit displays visitdomain.com
masterdomain.com/work displays workdomain.com
etc
So that masterdomain.com/work/hello.php displays workdomain.com/hello.php
and
masterdomain.com/work/news.php/news/headline displays workdomain.com/news.php/news/headline
and so on. So the original domain is cloaked.
I could move the contant from all of these domains into the relevant subfolders and update config files and so on, but is there an easier way to do this with .htaccess and mod_rewrite / mod_proxy if all the sites are on the same server?
many thanks for any advice offered
Cheers
Lucas