Jump to content

Can Apache follow a symlink to another server?


brewster

Recommended Posts

Say I have www.website1.com and I want www.website1.com/admin to actually point to www.anothersite.com/admin - so that www.website1.com/admin/page1.php will actually be www.anothersite.com/admin/page1.php without relocating the client browser to www.anothersite.com/admin. What is the easiest way to accomplish this?

 

I think mod_rewrite might be a solution, but all I have been able to do is make the browser actually go to the other site and I want the browser to stay at the first site so the user would not be able to tell that the php files are being served from another server.

 

Thanks.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.