Koozali.org: home of the SME Server

Cloaking URL

Christian NGUYEN

Cloaking URL
« 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

Bill Talcott

Re: Cloaking URL
« Reply #1 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"?

Johan

Re: Cloaking URL
« Reply #2 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

Joseph

Re: Cloaking URL
« Reply #3 on: March 27, 2003, 06:53:40 AM »
You can use Apache mod_proxy (ProxyPass/ProxyPassReverse) to cloak/proxy websites on other servers.

Cheers

Christian NGUYEN

Re: Cloaking URL
« Reply #4 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!

Christian NGUYEN

Re: Cloaking URL
« Reply #5 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

Christian NGUYEN

Re: Cloaking URL
« Reply #6 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! :)