Forum Moderators: phranque

Message Too Old, No Replies

Transfer to different sever

Send user to another server

         

IWilliams

12:03 am on Dec 10, 2003 (gmt 0)



Hi,
How would I set apache up to transfer an user to another server? What I mean is lets say I have a name virtual host of dotNet.windows.local and when the user goes to the page I want it to be sent to my windows server but keep the same url. I am using apache 1.3 with Debian, would I need to do this with iptables, mod_rewrite or something else?

Thanks, Isaiah

jdMorgan

3:27 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Isaiah,

Welcome to WebmasterWorld [webmasterworld.com]!

> sent to my windows server but keep the same url

You can't do that directly. You can use scripts or iFrames to <include> stuff from the other server, but if these are separate servers on different domains, then redirecting from one to the other requires an external redirect, and external redirects will change the address in the browser address bar.

Jim