menu 1
menu 2
menu 3

Wagner & Associates Groupware Services, Inc. - General FAQs

What's the difference between Proxy by Path and Proxy by Host?

Both of these terms are generally only used when talking about reverse proxies, some application server plugin's and load balancers.

Proxy by path means that you use the URI, the part of a URL after the hostname and port, to determine where to proxy the request.

Proxy by Host means that you use the hostname to determine where to send the request.

I want all requests my load balancer recieves destine for my original web app to go to hostname http://www.wagsworld.net to go to a set of three servers. I want each of my remaining 5 apps to go to a different hostname http://weblost.wagsworld.net, http://watchitall.wagsworld.net, etc. When I configure this in my Load Balancer I am configuring it to Proxy by Host.

So after I finished the above change to my site I met with my Marketing guys. They inform me that they have just dropped $400,000 on ads selling my web site.(ok I am dreaming now) The ads all show my 6 new apps apps all with the classic http://www.wagsworld.net as the host name. Luckily each of my apps has a unique URI. For example, /wta/, is the first part of the URI for the watchitall.wagsworld.net application from above. So i will configure /wta/* to point to the servers hosting that app. I rinse and repeat for the other 4 apps. Then the www site gets everything I don't define and the normal website stuff. I have now configured the site using Proxy by Path.

Recommendation:
Proxy by Path is my prefered way to do things. Mostly becuase it is so darn flexible. In the future should one of my apps start getting more use than another, assuming I have a seperate URI for each app, I can move it without much work at all. I can also change it without having to worry about users book marks, DNS replication time, or any other issues that arise from moving apps from one hostname to another.