brewster Posted November 24, 2007 Share Posted November 24, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/78701-can-apache-follow-a-symlink-to-another-server/ Share on other sites More sharing options...
steviewdr Posted November 25, 2007 Share Posted November 25, 2007 mod_proxy would be the easiest solution. This in combination with a simple rewrite should work fine. http://wiki.kartbuilding.net/index.php/Apache -steve Quote Link to comment https://forums.phpfreaks.com/topic/78701-can-apache-follow-a-symlink-to-another-server/#findComment-398955 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.