Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Servin domain subfolder from different Apache 2 server |
|
Author |
|
Cracken226
Joined: 18 Feb 2012 Posts: 2 Location: Uk, Wembley
|
Posted: Sat 31 Aug '13 19:35 Post subject: Servin domain subfolder from different Apache 2 server |
|
|
I need to serve domain subfolder from different Apache 2 server.
1. Squid 3 reverse proxy is pointin to 80.241.222.151 for domain http://www.megasity.com
2. Apache 2 server is on 80.241.222.151 with all files in the root folder so all requests are served from here
3. Now im creating new server at 80.241.222.149 with all files from http://www.megasity.com/elenadamer transfered to the root
4. On Squid 3 server http://www.megasity.com is still pointing to 80.241.222.151
5. But now i need to call http://www.megasity.com/elenadamer from 80.241.222.149 in the root.
What is the example to do this? mod_proxy on Apache 2 server at 80.241.222.151? Please, give me an good answer. Thanx for your answer. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 02 Sep '13 10:55 Post subject: |
|
|
use a reverse proxy
Code: | ProxyPass /elenadamer/ http://80.241.222.149/
ProxyPassReverse /elenadamer/ http://80.241.222.149/ |
|
|
Back to top |
|
|
|
|
|
|