Forum Moderators: phranque

Message Too Old, No Replies

Put an entire folder on a another server

         

ngsebastian

3:28 pm on Dec 13, 2006 (gmt 0)

10+ Year Member



Hello,

I was looking for a solution for this problem but no success finding one.

This is my problem:
I have a domain.com/afolder and I would like to move this folder to another server, I would like all this to be seamless to visitors. Is there a way to do this or no? If there is how?

Thank you,

Sebastian

jdMorgan

3:47 pm on Dec 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Set up a reverse proxy, either by using an "Alias" directive, or by using RewriteRule's [P] flag in mod_rewrite.

See the Reverse Proxy section of the Apache mod_proxy documentation for more information.

All requests for resources on the back-end server will still pass through the main server, but it will be handling only the connection and data transmission, and not the disk I/O or script execution load.

Jim

ngsebastian

8:31 pm on Dec 13, 2006 (gmt 0)

10+ Year Member



Jim,

Thank you

You've helped me a lot.

Sebastian