Directory Masking

Directory Masking

Posted by: notorious
Posted on: 2006-06-07 02:16:00

Is it possible to set masking or "cloaking" on a specific directory instead of the entire domain? For example, I'm trying to make example1.com show the information on example2.com/dir but keep example1.com in the address bar. So far, I only see a way to forward, which changes the URL, or cloak the entire URL, which I can't do because I can't set the URL to cloak itself.

Any ideas?

Re: Directory Masking

Posted by: michael
Posted on: 2006-06-07 08:41:00

hey notorious, I believe I understand what you are trying to do, forgive me if i don't.

Set both domains to be fully hosted.
For example2.com set the web directory to: /home/username/example2.com

For example1.com set the web directory to: /home/username/example2.com/dir/

be sure to run any cgi for either domain as the same user to avoid any permission problems.

Re: Directory Masking

Posted by: notorious
Posted on: 2006-06-07 13:48:00

Sweet, that seemed to work.

Now I just need to change all my code :P

Thanks!

Tags: urlcloakaddress barcloakingdomain