Redirect without changing URL
Posted
by
Coobadivin
on Server Fault
See other posts from Server Fault
or by Coobadivin
Published on 2012-11-30T22:24:04Z
Indexed on
2012/11/30
23:06 UTC
Read the original article
Hit count: 176
Here's the setup. We have a hardware load balancer with an http virtual cluster. Let's call this virtual cluster example1.com. This virtual cluster load balances between two squid reverse proxies which are also on the same physical servers as the web servers. Squid listens on 80 and points to itself as the cache_peer web server which listens on 81. We also have a standalone web server which we will call example2.com.
What we are trying to do is create a subdirectory on example1.com called example1.com/example2. This will point to example2.com, but we want our users to stay at example1.com/example2 in their browser. So, it's like a redirect without actually being a redirect. How the hell do I go about doing this? Is this even possible? I'm looking at squid docs in the meantime.
- example1.com is running a proprietary web server - not Apache :(
- We can't host example2.com's content in example1.com's file system. These are two very different platforms.
© Server Fault or respective owner