Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Christian NGUYEN on March 26, 2003, 05:45:46 PM

Title: Cloaking URL
Post by: Christian NGUYEN on March 26, 2003, 05:45:46 PM
Hello,

I wonder if there is a way to cloak some URL.
example:

www.test.com:81/prod/index.htm  become www.finalsite.com ????

Thanks for replyng! :)

PS: I'm working on SME 5.5
Title: Re: Cloaking URL
Post by: Bill Talcott on March 26, 2003, 06:57:45 PM
There is a way to point www.finalsite.com at www.test.com:81 in the DNS records, but I'm not sure how to do it. I thought it was linked from here a while ago...

I'm not sure about the /prod/index.htm either. Do you want "www.finalsite.com" to stay in the URL bar through the whole site, or do you just want them to see it instaed of "www.test.com:81"?
Title: Re: Cloaking URL
Post by: Johan on March 26, 2003, 09:50:30 PM
Hello Christian,

You can place in the subdirectorie "/prod/" a phpscript named "index.php"
whith the follow content

    header('location: http://www.finalsite.com");
  ?>
if this a ibay then enable in server-manager - ibays - Execution of dynamic content (CGI, PHP, SSI)

Of cource you must deleted are rename the orginal index.html

Goodluck


Johan
Title: Re: Cloaking URL
Post by: Joseph on March 27, 2003, 06:53:40 AM
You can use Apache mod_proxy (ProxyPass/ProxyPassReverse) to cloak/proxy websites on other servers.

Cheers
Title: Re: Cloaking URL
Post by: Christian NGUYEN on March 27, 2003, 12:23:56 PM
Bill Talcott wrote:
>
> There is a way to point www.finalsite.com at www.test.com:81
> in the DNS records, but I'm not sure how to do it. I thought
> it was linked from here a while ago...
>
> I'm not sure about the /prod/index.htm either. Do you want
> "www.finalsite.com" to stay in the URL bar through the whole
> site, or do you just want them to see it instaed of
> "www.test.com:81"?

ok, I just try to see "www.finalsite.com" instead of "www.test.com:81"
Thanks for help for port forwarding answer, it was very helpfull!
Title: Re: Cloaking URL
Post by: Christian NGUYEN on March 27, 2003, 12:25:32 PM
Johan wrote:
>
> Hello Christian,

Hello Johan,
>
> You can place in the subdirectorie "/prod/" a phpscript named
> "index.php"
> whith the follow content
>
>   >   header('location: http://www.finalsite.com");
>   ?>
> if this a ibay then enable in server-manager - ibays -
> Execution of dynamic content (CGI, PHP, SSI)
>
i wil try your code! :)

> Of cource you must deleted are rename the orginal index.html
>
> Goodluck
thx a lot! :)
>
> Johan

Chris
Title: Re: Cloaking URL
Post by: Christian NGUYEN on March 27, 2003, 12:27:26 PM
Joseph wrote:
>
> You can use Apache mod_proxy (ProxyPass/ProxyPassReverse) to
> cloak/proxy websites on other servers.
>

ok thnx Joseph,
Is it a contrib dealing about Proxy pass for the SME 5.5 ????

> Cheers

Read you later! :)