Mobile app version of vmapp.org
Login or Join
Courtney195

: Soft links over the Web? Take this scenario. There is a server(say, A) at www.mysite.com .Now, there's a dynamic number of servers A knows about (knows the IP-adresses to). The problem is, if

@Courtney195

Posted in: #Networking #WebDevelopment

Take this scenario. There is a server(say, A) at mysite.com .Now, there's a dynamic number of servers A knows about (knows the IP-adresses to).

The problem is, if a user arrives at www.mysite.com/B, we need to redirect him to the server that the URI B will map to( assume that there exists a mapping from such URLs to the list of known servers, and that 'B' is valid here). Is there a way of doing this without redirection? (First deployment will be n GAE, so this redirection is not possible). What I want is the browser showing www.mysite.com/B, but rendering content as delivered by the server running on B.

I think that this may be possible, as, multiple webservers are indeed used within the same domain today.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Courtney195

2 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

You can achieve the desired behaviour by using a forward proxy. It has nothing to do with programming.

10% popularity Vote Up Vote Down


 

@Hamaas447

Load Balancing and Clustering notes in part:


With a simple LOAD BALANCING scheme, you can split your traffic down
by URL or subdirectory, so that (for example) all traffic for /course
goes to one server, and all traffic for /horse goes to another, with
the front end machine acting simply as a router, forwarding requests
via mod_proxy (if it's running Apache httpd) or similar.


Or does this not cover the case you are describing?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme